Q. What is the main difference between var and let keywords in JavaScript?
β
Correct Answer: (B)
var defined function scoped variable while let define block scoped variable
You must be Logged in to update hint/solution