In javascript, there are three types of scope: global, function, and block. Prior to ES6, javascript only had global and function scope, so let's start with those two examples. Function Scope When a function is created that function creates its own...

Markdown supported · ⌘↵ to post
No responses yet.