On 16.05.2010 1:33, Erik Arvidsson wrote:
On Sat, May 15, 2010 at 05:20, Dmitry A. Soshnikov
<[email protected]> wrote:
How about a small syntactic sugar for useful and widespread construction:
x = x || 10
Off topic but see
http://wiki.ecmascript.org/doku.php?id=harmony:parameter_default_values
Ah, thanks for info, didn't see it (I have to find the time to check all
proposal specs).
Dmitry.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss