DEVFYI - Developer Resource - FYI

Does javascript have the concept level scope?

JavaScript Interview Questions and Answers


(Continued from previous question...)

70. Does javascript have the concept level scope?

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.

(Continued on next question...)

Other Interview Questions