Siva Chandra Sekhar G’s Post

𝐉𝐚𝐯𝐚𝐒𝐜𝐫𝐢𝐩𝐭 – 𝐏𝐚𝐫𝐭 𝟔 Hey everyone! I’m sharing the next part of the notes that I prepared when I was learning JavaScript. In these notes, I’ve explained everything in the easiest way possible. 𝗧𝗵𝗶𝘀 𝗽𝗮𝗿𝘁 𝗰𝗼𝘃𝗲𝗿𝘀: Variable Scope Hoisting 𝘄𝗵𝗮𝘁 𝗶𝘀 𝗮 𝗧𝗲𝗺𝗽𝗼𝗿𝗮𝗹 𝗗𝗲𝗮𝗱 𝗭𝗼𝗻𝗲 (𝗧𝗗𝗭)? The time between entering the scope and variable initialization is called the Temporal Dead Zone (TDZ). 𝘄𝗵𝗮𝘁 𝗶𝘀 𝗮 𝗦𝗰𝗼𝗽𝗲 𝗖𝗵𝗮𝗶𝗻? JavaScript uses a scope chain to resolve variables. If a variable is not found in the current scope, JavaScript looks for it in the outer scope, continuing until the global scope. Putting these notes out there to help anyone revising or strengthening their JS fundamentals. 𝗣𝗿𝗲𝘃𝗶𝗼𝘂𝘀 𝗣𝗮𝗿𝘁𝘀 Part 1: Js Fundamentals Link: https://lnkd.in/gZdba3ga Part 2: Js Operators Link: https://lnkd.in/gUYuHXSb Part 3: Js Conditional Statements Link: https://lnkd.in/gWTfwkBr Part 4: Loops Link: https://lnkd.in/gUjuB5eY Part 5: Functions Link: https://lnkd.in/gQZadrza Hope this helps Feel free to share with your friends, and please comment your suggestions or doubts. #javascript #webdevelopment #programming #developers #learningbysharing #tech #learninpublic #cse #learninpublic

To view or add a comment, sign in

Explore content categories