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...2 min read·rohanagrawal.hashnode.devDec 11, 2022
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...9 min read·rohanagrawal.hashnode.devOct 30, 2022
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 ...1 min read·rohanagrawal.hashnode.devOct 19, 2022
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...3 min read·rohanagrawal.hashnode.devSep 11, 2022
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.1 min read·rohanagrawal.hashnode.devSep 10, 2022