OK, ?. is enough and good
Le 18/06/2012 16:48, Brendan Eich a écrit :
Aymeric Vitte wrote:
Why not, instead of adding "?" operator ?
You mean ?. here, I assume.
The answer is because what you propose is an incompatible change to
ECMA-262 (all editions) and JS back to its birth, which lets programs
that throw currently continue to run, with possibly disastrous
consequences (undefined flowing into the bank-balance database as
NaN). There is no way that this kind of potentially-bug-hiding
behavior should be the default semantics. It must be explicitly
opted-into via new syntax.
/be
--
jCore
Email : avi...@jcore.fr
Web : www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss