- How JS Scope is organised using function declaration, function expressions and blocks.
- Why IIFE works the way it does, what hoisting really is and how can we effectively organise our code using the knowledge of scopes.
We will cover the fundamentals of code patterns that help us create a better-organized code. We will look at how function-expression, function-declaration, blocks, modules, and scripts are part of the scope system. We will cover in-depth detail of how and why immediately invoked function expressions (IIFE) works. We will also look at hoisting and by the time we reach here, you would have already understood why hoisting is something, that it actually is not.
Who this course is for:
- Advanced/Intermediate JS developers who want to get deeper understanding of scope system and compilation phase of JS programs
- JS developers who want to start exploring the new ES6 features