When to Use a Function Expression vs. Function Declaration
Learn when to use function expressions vs. function declarations in JavaScript, and how these methods for defining functions are different.
Learn when to use function expressions vs. function declarations in JavaScript, and how these methods for defining functions are different.
The dynamic nature of JavaScript means that a function is able to not only call itself, but define itself, and even redefine itself.
Ivaylo Gerchev examines three of the most important and heavily-used concepts in modern JavaScript development — closures, callbacks and IIFEs