What are tenets of functional programming?
What is a closure, and how/why would you use one?
What are the reference data types in JavaScript?
What is the difference between ‘null’ and ‘undefined’
- Null is explicitly set to an empty value
What are the primitive data types in JavaScript?
What is the difference between a primitive data type and a reference data type?
Explain hoisting
What creates scope in JavaScript?
Name 2 or more ways to define a global variable in JavaScript
- Leave the ‘var’ off and assign it to the ‘window’
How does inheritance work in JavaScript?
- Objects are linked to other object instances via prototypes
Explain how prototypal inheritance works
What is the difference between ‘==’ and ‘===’ in JavaScript?
What is async in JavaScript?
Explain the difference between synchronous and asynchronous functions.
What is event loop?
What does the ‘this’ refer to in Javascript
What is a data type?
Why does (1 /3).toFixed(2) + 3 equal 0.333?
How big can a number be in JS?
Why doesn’t .1 + .2 = .3 in JS?
What is scope?
What is the difference b/w var, let and const?
Why is it dangerous to pollute or use the global scope?
You declare a variable in the middle of a scope. Where is that variable accessible?