D
Dr J R Stockton
In comp.lang.javascript message <[email protected]>,
Mon, 11 Jul 2011 11:32:12, Thomas 'PointedEars' Lahn
Readers might also be interested in Object.getOwnPropertyNames(element)
which is used in <http://www.merlyn.demon.co.uk/js-probs.htm> though the
actual code is in <http://www.merlyn.demon.co.uk/inc-props.js>. But,
last time I checked, only 2 of my 5 browsers had it.
Not now in IE 8 FF 3.6 Op 11.50.
In, but not new, in Sf 5.0.5, Cr 12.0.
The FF5 machine is not currently running.
Mon, 11 Jul 2011 11:32:12, Thomas 'PointedEars' Lahn
Dr said:Thomas 'PointedEars' Lahn posted:
Undoubtedly confusion exists.
True, thanks for pointing this out. I meant to say:
A for-in loop iterates only through the properties that are enumerable,
i. e. those that do _not_ have the `[[DontEnum]]' attribute in conforming
implementations of ES3, and those that _do_ have the `[[Enumerable]]'
attribute in conforming implementations of ES5 (cf. sections 8.6.1,
respectively).
Readers might also be interested in Object.getOwnPropertyNames(element)
which is used in <http://www.merlyn.demon.co.uk/js-probs.htm> though the
actual code is in <http://www.merlyn.demon.co.uk/inc-props.js>. But,
last time I checked, only 2 of my 5 browsers had it.
Not now in IE 8 FF 3.6 Op 11.50.
In, but not new, in Sf 5.0.5, Cr 12.0.
The FF5 machine is not currently running.