The main difference between the variables declared with var and with let is
A. var is confined to a particular function but let is not
B. let is confined to a particular function but var is not
C. var defines values based on conditions but let does not
D. none of the mentioned
Answer: Option B

Join The Discussion