Objectives

Scope Lesson

Identify the difference between const, let, and var declarations Explain the difference between const, let, and var declarations Predict the evaluation of code that utilizes function scope, block scope, lexical scope, and scope chaining Define an arrow function Given an arrow function, deduce the value of this without executing the code Implement a closure and explain how the closure effects scope Define a method that references this on an object literal Utilize the built in Function#bind on a callback to maintain the context of this Given a code snippet, identify what this refers to