
JavaScript Basics: Learn These Concepts First
HTML All The Things - Web Development, Web Design, Small Business
00:00
How to Store Variables in JavaScript
There are two kind of three-ish types of variables. We're going to be talking about the first type is called global. There's also one that is not as global and it's called local. And these can be accessed only where it is declared. Now usually it's within a function slash function scope. But then there's also this other thing called block scope. This was added in ES6, which is the latest version of JavaScript.
Transcript
Play full episode