You don't know JS: Summary - Chapter 1 and Chapter 2 (this and Prototype)
The best approach to avoid the use of anonymous functions altogether requires a self-reference, and instead uses a named function.
using call(..), we ensure the "this" points at the function object itself.
Internally scope is like an object with p...
innovativecoder.hashnode.dev3 min read
Catalin Pit
One of the best JS resources. π