Js
Hoisting in javascript
Hoisting means to be able to access variables and call a function that is declared down below without any error. When javascript program is executed a execution context is created. There are two...
read articleScope/Lexical environment in javascript
Scope is directly depended on the lexical environment of a variable. Lexical means presence in hierarchy. Lexical environment is created everytime a execution context is created. Lexical environment...
read articleExploring the array reduce method
Reduce is a method on the javascript Array object's prototype. Let us see how it actually works. The array reduce method executes a callback function on each element of the array and gives a single...
read articleThis in javascript
In this post we will explore what this keyword refers under various conditions and there by understand the keyword and how it works in javascript. The this keyword can point to The object when...
read articleExecution context in javascript
When a file is executed in javascript there are two phases of execution. One is the memory creation phase (phase one), another one is code execution phase (phase two). In the memory creation phase...
read article