Re: undefined vs. undefined (was: new Array() vs [])
- From: "VK" <schools_ring@xxxxxxxxx>
- Date: 9 Sep 2006 11:33:18 -0700
Richard Cornford wrote:
At lest the other thread came to the (correct) conclusion that the
firefox/Mozilla behaviour described was an implementation bug.
I will definitely clarify this on Bugzilla and post the response here.
Nevertheless in the matter of JavaScript engine behavior Mozilla is
most likely to be by ECMAScript standard, at least it was since the
beginning and until now.
Before Mozilla team will give an answer, I say my humble opinion on
this matter: it is another side effect of specification bug ;-)
allowing undefined value to be *assigned* and being involved in some
internal *assignment* operations.
I'm glad that I don't need to make a choice how to treat a property
with explicetly assigned value "this property doesn't exist and never
existed".
As a property with such value? (Gecko)
As non-existing property? (IE and Co)
Truthfully I would feel like to drop a coin, and then go to Switzerland
to hit some dumb heads :-)
.
- Follow-Ups:
- Re: undefined vs. undefined (was: new Array() vs [])
- From: Richard Cornford
- Re: undefined vs. undefined (was: new Array() vs [])
- References:
- undefined vs. undefined (was: new Array() vs [])
- From: VK
- Re: undefined vs. undefined (was: new Array() vs [])
- From: Richard Cornford
- undefined vs. undefined (was: new Array() vs [])
- Prev by Date: Re: Color computation
- Next by Date: Re: programmatic firing of keydown event
- Previous by thread: Re: undefined vs. undefined (was: new Array() vs [])
- Next by thread: Re: undefined vs. undefined (was: new Array() vs [])
- Index(es):