PreviousNext

Scoping in JavaScript: The Basics

by bill-s, 2020-03-09T06:26:12.378Z

The Goal: Understanding the difference between lexical and block scoping Motivation: These are subtle differences that newer devs (like myself) may not know or be aware of since we've never really used the var keyword Let's start with an example using the below code sample.

Read More