@codewithsarir: Is the answer A, B, or C? 🧐 This is why everyone tells you to stop using var! 🛑 JavaScript's original variable type has a "hidden" behavior that ignores blocks. Watch the breakdown to see how the inner code ruins the outer variable. 🧠 Drop a 🧩 if you got it right! Hashtags: #javascript #coding #programming #webdevelope #creatorsearchinsights
var is a global variable and its not limited to its scope of declaration like let and const that are local variable and can only be access only within the scope of declaration.
2026-04-27 23:34:23
1
blackboy160676 :
c - var is function scoped
2026-04-27 16:01:11
1
To see more videos from user @codewithsarir, please go to the Tikwm
homepage.