tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code05:26

Learn JavaScript VARIABLE SCOPE in 5 minutes! 🏠

Bro Code ↗

From the creator

// variable scope = where a variable is recognized // and accessible (local vs global) let x = 3; // global scope function1(); function function1(){ let x = 1; // local scope console.log(x); } function function2(){ let x = 2; // local scope console.log(x); }

Published 2023-11-04 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code