90% of Developers get this wrong

Are you one of them?

Somnath Singh
JavaScript in Plain English
8 min readDec 12, 2020

--

Photo by Wes Hicks on Unsplash

You might have heard that variables hoist, and hoisting this and hoisting that. Let me tell you this beforehand ‘Hoisting’ is an English language convention that we have made up to discuss the idea of lexical scope without thinking about lexical scope.

I will show you why it does not exist and why it is not even possible for it to subsist with a…

--

--