RARohan agrawalinrohanagrawal.hashnode.dev·Dec 11, 2022 · 2 min readHoistingHOISTING -> 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...00
RARohan agrawalinrohanagrawal.hashnode.dev·Oct 30, 2022 · 9 min readHow 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...00
RARohan agrawalinrohanagrawal.hashnode.dev·Oct 19, 2022 · 1 min readHow 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 ...00
RARohan agrawalinrohanagrawal.hashnode.dev·Sep 11, 2022 · 3 min readInterview 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...00
RARohan agrawalinrohanagrawal.hashnode.dev·Sep 10, 2022 · 1 min readSCOPE 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.00