C-style block-level scoping is not supported in Javascript

Options
- False
- True


CORRECT ANSWER : True

Discussion Board
Wrong answer

FALSE is a correct option, you can chatgpt it. The answer is given wrong

yadhuvanshi 10-12-2024 05:28 AM

Wrong Answer, update it

CORRECT ANSWER : FALSE,
"let" in ES6 allows you to do this.
You should update your Answer, or mention the version of javascript.

aryan 10-12-2024 05:19 AM

True

Yeah, I agree geo. I would say that "let" in ES6 allows you to do this. Perhaps update the question or specify which ES version should be followed to answer the questions

Jim 02-24-2016 04:56 PM

perhaps

using let instead of var in ES 6 perhaps ?

geo 10-19-2015 12:17 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement