Object Orientend JavaScript is becaming more popular buzz world inside JS community and as we already know JavaScript have classes and constructors but those are completely different from normal Object Orient languages like Java, C++, etc.., Prototypal inheritance read more...
Closure in JavaScript is the combination of a function with references to its surrounding lexical scope. Closure gives access to an outer function’s scope from an inner function. In JavaScript, read more...
The most important part of a scope is the JavaScript execution context. So what is exceution context? Its the context depends on 2 questions, How the function is called? From where the function is called? read more...
There are different ways which we can use to cheat lexical scoping in JavaScript, we can use let, eval, with, even try-catch block that will work differently that normal scoping in JavaScript read more...
Scope in JavaScipt? How this keyword is working, how function scope behaves in JS compiler? Interestingly JavaScript is compiled like most of the language with static types like C++, Java, etc read more...