JavaScript has variable declarations other that var, like const and int, but Game/App Lab doesn’t support those. Explain why not?
Answers
Answered by
1
Answer:
JavaScript does support other keywords for variable declaration as you mentioned. We use const and let all the time in our own code base. These are handy keywords that were added in ES6 (the 6th iteration of JavaScript) due to high demand. The tough part is that each new version of the JavaScript spec brings in lots of changes. Each browser has to update their interpreter to handle all these changes (in fact, Internet Explorer still lacks support for most ES6 features).
Explanation:
Thank you and mark me as brainliest
Similar questions