Open
Description
The scope exercise defines scope in javascript before the ES2015 standard. Being 5 years later the ES2015 is probably the most used javascript now.
- enter
javascripting
- select SCOPE
- you can see that only
global
andlocal
scopes are referenced
Include block
scope. Rename local
scope to function
scope.
Usage is defined at these two links from w3schools for let and const,