Nowadays JavaScript has three different keywords to declare a variable — var, let and, const. Each has its own properties and particularities. Let’s start by making a simple comparison table of the ...
Most people explain JavaScript scope like this: “Scope determines where variables can be accessed.” Cool. But that definition never really clicked for me. Then I realized… Scope is basically ...