Search posts, tags, users, and pages
Let's start with a example of closure - function outer() { // scope A var myText = 'Hello' return function inner() { // scope B console.log(myText) } } { // scope C let myText = 'World' let fn = outer() fn(); } Here we have ...
Abhas Bhattacharya
@bendtherules · Bangalore
Typescripting
I like to build developer tools in my spare time. I have tried dabbling with ASTs, TypeScript compiler api, webpack plugins, react custom re
Markdown supported · ⌘↵ to post
Aquib Vadsaria
Great article to know inner working of scope resolution in JS. Small suggestion - would had been easy to understand (soak in this information) if there was some kind of visualisation (block diagram or flow chart, etc)
Lakshya Thakur
Explanation - 💯. Much insightful !
Bolaji Ayodeji
This is really amazing, thanks for sharing!
Aquib Vadsaria
Great article to know inner working of scope resolution in JS. Small suggestion - would had been easy to understand (soak in this information) if there was some kind of visualisation (block diagram or flow chart, etc)