Oliver Hunt wrote:
What you're asking for is grammatically ambiguous in a way that would potentially break existing content, and (generally) leads to really interesting parsing behaviour.
As Doug Crockford has argued, this is why K&R style is better in JS: always put the { at the end of the line whose first token starts the statement.
if (C) { . . . } and not if (C) { . . . } /be
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss