> P.S.: so having this issue as already solved (as a runtime error, but still
> -- the error!, not a typo-hazard!)
It doesn't always produce a runtime error. If the property happens to be there,
there's no error. Also, take a look at the confusing issues that arise from the
dynamic semantics of global lookup:
https://mail.mozilla.org/pipermail/es5-discuss/2010-October/thread.html#3760
Strict mode tried valiantly to make unbound variables an error, but there's
only so much you can do with a dynamic semantics for scoping [1]. Once we have
static scoping these problems go away.
Dave
[1] How's that for avoiding the phrase "dynamic scoping"? ;)
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss