Basic JavaScript Question:
Download Questions PDF

Does JavaScript have the concept level scope?

Answer:

No. Javascript does not have block level scope, all the variables declared inside a function possess the same level of scope unlike c, c++, java.

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
What is variable typing in JavaScript? What are undefined and undeclared variables?