Objectives

JS Trivia

1. Given a code snippet of a unassigned variable, predict its value.

2. Explain why functions are “First Class Objects” in JavaScript

3. Define what IIFEs are and explain their use case

4. (Whiteboarding) Implement a closure

5. Identify JavaScript’s falsey values

6. Interpolate a string using back-ticks

console.log(`Hello my name is ${BERVAR} nice to meet you`);

7. Identify that object keys are strings or symbols

8. A primitive type is data that is not an object and therefore cannot have methods(functions that belong to them).

9. Given a code snippet where variable and function hoisting occurs, identify the return value of a function.