In JavaScript there’s a difference between global, block and functional scoping. Failing to understand scoping can lead to hard to find bugs and code that executes too slowly. Here are two possible errors with scoping you can commit when coding in JavaScript and how to fix them. Global, Functional and Block Scoping In JavaScript, variables […]