HoistingHOISTING -> Points to Remember - All declaration of both variables and functions are processed before any part of code is executed see in image- 2.Variable declaration are scanned and made Undefined. Function declaration are scanned and made Ava...Dec 11, 2022 · 2 min readrohanagrawal.hashnode.dev
How does a V8 JavaScript engine work ()V8 engine is a compiler which Compiles and executes JS code Handling call stack — running your JS functions in some order, Managing memory allocation for objects — the memory heap, Garbage collection — of objects which are no longer in use, Provid...Oct 30, 2022 · 9 min readrohanagrawal.hashnode.dev
How to change the browser in vs code when "npm start"?So the query is in react when we do npm start in vs code sometimes it open localhost:3000 port to a browser like edge or firefox but we wanted it in chrome or other so what should we do. Follow this steps -> -Go to setting in vs code search for live ...Oct 19, 2022 · 1 min readrohanagrawal.hashnode.dev
Interview Prep Cheat Sheet for JavaScriptSCOPE-> 1. Global - Function, variables, Objects which could be accessable from anywhere. 2. Function - Variable and Objects accessible only inside the function. 3. Module - The scope for code running in module mode. Call Stack-> To understand...Sep 11, 2022 · 3 min readrohanagrawal.hashnode.dev
SCOPE in JAVASCRIPTSCOPE -> 1. Global - Function, variables, Objects which could be accessable from anywhere. 2. Function - Variable and Objects accessible only inside the function. 3. Module - The scope for code running in module mode.Sep 10, 2022 · 1 min readrohanagrawal.hashnode.dev