Demystifying JavaScript Variable Scope and Hoisting
How does JavaScript's scoping system work? Learn the difference between local scope and global scope, and what hoisting is.
How does JavaScript's scoping system work? Learn the difference between local scope and global scope, and what hoisting is.
M. David Green reviews new features of modern JavaScript, such as classes and arrow functions, looking at when you should and perhaps shouldn't use them.