Temporal Dead Zone 馃煛馃挜Temporal Dead Zone Previously it was not introduced in javascript it came along with let and const. So lets's learn about Temporal Dead Zone With Examples. let and const are hoisted 馃榾 console.log(address) let username = "deepak" var address = "Kolko...May 24, 2023 路 3 min readdeepaknayak.hashnode.dev
Primitive and Reference Datatypes in Javascript With ExamplesIn javascript, the datatypes are divided into two types Primitive Type(Primitive Datatypes) Non-Primitive Type(Reference Type) Primitive Type: when we declare a variable or a function after the declaration, it needs to be stored somewhere but whe...May 13, 2023 路 2 min readdeepaknayak.hashnode.dev
Complete Detail about Scope, and Lexical Environment , Scope Chaining with Code SnippetsScope: Scope means accessing a particular variable and a function in our code. In other words, scope determines the accessibility and visibility of a variable/function. Types Of Scopes: Global Scope: Variables declared outside the function are called...Apr 29, 2023 路 6 min readdeepaknayak.hashnode.dev
Undefined and Not DefinedUndefined : You can only find undefined in Javascript, not in any other languages. But you guys must be wondering what undefined is. Undefined is a very special word in Javascript that gets stored inside the variable during the memory execution phase...Apr 17, 2023 路 2 min readdeepaknayak.hashnode.dev
Spread and Rest with Code SnippetsSpread Operator: Spread Operator came into existence after es6 was introduced to javascript. The spread Operator is represented using (...) it is mostly used in array not only array it is also used in iterable objects. The spread operator allows you ...Apr 14, 2023 路 4 min readdeepaknayak.hashnode.dev