MCQs > IT & Programming > JavaScript > Difference between the 'var' keyword and the new 'let' keyword which appears in ECMAScript 6 ?

JavaScript MCQs

What's the difference between the "var" keyword and the new "let" keyword which appears in ECMAScript 6 ?

Answer

Correct Answer: The "let" declares a local value to a block scope whereas the "var" defines a variable more globally

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it