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

Options
- False
- True


CORRECT ANSWER : True

Discussion Board
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