Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: for/in loop in JScript standards mode

0
0
Thanks, it seems like for my case I would have to use your last suggestion.

We have a set of Javascripts that work with Google Chrome and Firefox and we would rather not modify them with non-standard code.

What makes you think this is a problem with JScript? It is able to enumerate JScript objects, I would imagine it is using some kind of IDispatch/Ex capability. Could it be looking for a "hidden" property or method of an object to perform its for...in enumeration? Perhaps this is a matter of supplying JScript with what it is looking for?

Viewing all articles
Browse latest Browse all 2297