The main difference between the variables declared with var and with let is __________
The main difference between the variables declared with var and with let is __________ Correct Answer let is confined to a particular function but var is not
Variables declared with var have global scope whereas variable declared with let have block scope. Variables declared with let are defined only within the closest enclosing block (and any blocks nested within it, of course).
মোঃ আরিফুল ইসলাম
Feb 20, 2025