Proposal: Modify automatic semicolon insertion in strict mode

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Mon Dec 8 23:35:45 PST 2008


Eric Suen wrote:
>> Yuh-Ruey Chen wrote:
>>> Eric Suen wrote:
>>>> Your proposal make nosense to me, first, I not sure what is your
>>>> strict mode means, because in strict mode there is no automatic
>>>> semicolon insertion.
>> No, semicolon insertion occurs also in strict mode. Perhaps it shouldn't.
> 
> Oops, I got this from:
> 
> http://www.mozilla.org/js/language/js20-2002-04/core/pragmas.html#strict-mode

That page is long out-of-date, and not relevant to ES3.1 or Harmony.

-- 
David-Sarah Hopwood


More information about the Es-discuss mailing list