On Jan 26, 2006, at 3:45 PM, Mike Shaver wrote:
On 1/26/06, LukeStark <[EMAIL PROTECTED]> wrote:
The "if (field in object)" syntax is used everywhere in MochiKit, but
won't run on the most recently updated Win2k IE. (IE Version
6.0.2800.1106, SP1 Q823353, Q903235) which is (sadly) the majority of
our machines here.
That's pretty brutal if the case, but I can't reproduce it with that
version on Win2K.
My test case is at http://shaver.off.net/misc/in-object.html and it
produces the "present" alert with 6.0.2800.1106 on Win2K. Do you see
something different?
That syntax is part of the ECMA spec and has been with JavaScript for
a very long time. I can't imagine that they'd break it in an update.
-bob