NRNishant Ranjaninnishant-ranjan.hashnode.dev路Feb 3, 2023 路 3 min readHoisting in JavaScript 馃敟(variables & functions)Hoisting in JavaScript is the most famous Interview Question. And it is also one of the most misunderstood concepts in JS. Let's start with a very simple example. var x= 7; function getName(){ console.log("Let's Understand Hoisting in JS") } ...00
NRNishant Ranjaninnishant-ranjan.hashnode.dev路Jan 21, 2023 路 4 min readWhat happens when you run Javascript code?Hello again 馃憢, There are a lot of things that happen behind the scenes inside the JavaScript engine. Remember in the last blog I discussed that everything in JavaScript happens inside an Execution Context. How Javascript works & execution context? a...00
NRNishant Ranjaninnishant-ranjan.hashnode.dev路Jan 16, 2023 路 2 min readHow Javascript works & execution context?Hello 馃憢 , In this blog, I am going to cover How Javascript works and how the code is executed? Is Javascript synchronous or asynchronous? Is Javascript single-threaded or Multithreaded? Everything in Javascript happens inside an execution cont...00