3

"Block scope in console REPL:
Each line you type in the console is evaluated in a separate, temporary scope. This sometimes makes let and const behave differently than if you wrote the same code in a <script>."

Interesting... I didn't know that. lol

Comments
Add Comment