📄️ Constructor Functions
What is a Constructor Function?
📄️ Currying
Currying is the technique of converting a function that takes multiple arguments into a nested sequence of functions that each take a single argument.
📄️ Factory Functions
A factory function is a function that creates and returns a new object.
📄️ Closures
A closure is when an outer function returns an inner function, the inner function is then executed in a different scope, and the inner function continues to maintain access to the outer function's variables, even though the outer function no longer exists.
📄️ Hoisting
When a Javascript file (or HTML document with Javascript in it) is loaded, function declarations are hoisted to the top of the code by the browser before any code is executed
📄️ Scope
Q: What will be printed on the console?
📄️ This, Call and Apply
Q: What is the result of the following code?
📄️ Recursion
A function that calls itself.