Does javaScript have the concept level scope?

Ads

 
 

Share on Google+Share on Google+

samar
Does javaScript have the concept level scope?
1 Answer(s)      6 years and 7 months ago
Posted in : JavaScript Questions

Does javaScript have the concept level scope?

Ads
View Answers

November 10, 2010 at 5:30 PM


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.


Ads