Get all Javascript Variables?

Posted by Matrym on Stack Overflow See other posts from Stack Overflow or by Matrym
Published on 2010-05-04T00:28:06Z Indexed on 2010/05/04 0:38 UTC
Read the original article Hit count: 655

Is there a way for javascript to detect all assigned variables? For example, if one js file creates a bunch of vars (globally scoped), can a subsequent file get all the vars without knowing what they're named and which might exist?

Thanks in advance :)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about variables