Annex A of 5th Edition

Allen Wirfs-Brock allen at
Thu Sep 6 19:26:03 PDT 2012

On Sep 6, 2012, at 4:35 PM, Brendan Eich wrote:

> Allen Wirfs-Brock wrote:
>> According to the specification, those all should produce runtime ReferenceError exceptions.  However, at least Firefox, reports them as early syntax errors.  Technically, that is out of conformance with the spec.
> Really? Clause 16 says:
> "An implementation must treat any instance of the following kinds of errors as an early error:
> * ...
> * Attempts to call PutValue on any value for which an early determination can be made that the value is
> not a Reference (for example, executing the assignment statement 3=4)."
> How are we not conforming?

Correct, I forgot about clause 16.   Probably a good indication that some of these operators need an informative note referring to that Clause 16 requirement.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list