|
The for..in statement will never process anything flagged as not enumerable. This includes many of the predevined properties and methods in the built in objects (such as window).
The latest version of JavaScript provides more direct access to the se types of settings so that you can now create your own properties and methods that will have that flag set and so be skipped over by for..in
Last edited by felgall; 09-06-2012 at 10:28 PM..
|