JavaScript Variable Scope

Posted by lYriCAlsSH on Stack Overflow See other posts from Stack Overflow or by lYriCAlsSH
Published on 2009-02-01T08:27:19Z Indexed on 2010/04/06 11:23 UTC
Read the original article Hit count: 495

Filed under:

What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally?

© Stack Overflow or respective owner

Related posts about JavaScript