var, let, and const in JavaScript
In JavaScript we have several ways to declare our variables, but which one should you use?
4 posts tagged
In JavaScript we have several ways to declare our variables, but which one should you use?
A closure is when a function is able to remember and access a lexical scope, even when that function is executed outside of that lexical scope.
The scope of a variable refers to where it will live or where it can be accessed. In JavaScript we have several options: global, local, and block.
this is a JavaScript keyword that behaves very differently from other programming languages, which is why some people consider it one of the biggest design mistakes in the language.