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) let doesn’t let you change the value of the variable
I had been asked this question in my homework.
My query is from JavaScript Extensions topic in portion Classes and Modules in JavaScript of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)