David Herman:

>> // "new" more readable sugar
>> function()
>> {
>>  static x = 1; // hello c/c++
>>
>>  return ++x;
>> }

This would produce incompatibilities with ECMAScript 5 non-strict
code.  The word `static` can be used as an Identifier in ES5
non-strict mode.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to