Javascript Placement Series (Part : 5) Discussing about Closure and important interview Question ?About Closure ? In Javascript, one of the most important and theoretical topic is Closure. It is one of the most misunderstood topic. What is closure ? Closure is nothing but combination of function bundled together with the references to its sur...Oct 23, 2022 · 2 min readaloksingh00.hashnode.dev
Javascript Placement Series (Part 4)What is a Block? A Block is a compound statement which is used to group one or more statement. It groups the multiple lines and interprets as single line. Basically we can create Block with curly braces ( "{ }" ). We use block where we need to write...1MOct 9, 2022 · 3 min readaloksingh00.hashnode.dev
Javascript Placement Series (Part 3) Advance topics like temporal dead zone , etc.Are let & const variable Hoisted ? The let & const keyword were introduced in ES6(2015). We all know that variable declared with var keyword can be hoisted. But are let & const variable also hoisted, the answer is yes. But they work little different ...Sep 30, 2022 · 3 min readaloksingh00.hashnode.dev
Javascript Placement Series(Part 2) Scope, Lexical Environment, Scope ChainingWhat is SCOPE ? Scope - It determines the accessibility of variable, object, function from different part of the code. For the above code variable b is within the scope of the function a( ). So basically there are two type of scopes 1 : Global sc...2KRSep 28, 2022 · 3 min readaloksingh00.hashnode.dev
Javascript Placement Series (Part : 1)What is Hoisting ? Javascript Hoisting is a process where the interpreter appears to move the declaration of function, variable or classes to the top of there scope prior to the execution of code. Basically it means that you can use the functions or ...1MSep 26, 2022 · 2 min readaloksingh00.hashnode.dev