||= is much needed?

Aymeric Vitte vitteaymeric at gmail.com
Fri Jun 15 02:38:17 PDT 2012


Yes, what I mean is that I did not see since a long time something like 
a===null?b:c or if (a===null)||b, and except for specific use like 
Object.create(null) I don't see a lot of null being used, then making 
the distinction for ??, ?: and others looks too subtle

Le 15/06/2012 04:20, Brendan Eich a écrit :
> On Jun 14, 2012, at 6:38 PM, Aymeric Vitte<vitteaymeric at gmail.com>  wrote:
>
>> Maybe I missed it, never saw the use of null since a long time, but I can be wrong
> As Allen pointed out, null is specified in ECMA-262, e.g. Object.getPrototypeOf.
>
> /be

-- 
jCore
Email :  avitte at jcore.fr
Web :    www.jcore.fr
Webble : www.webble.it
Extract Widget Mobile : www.extractwidget.com
BlimpMe! : www.blimpme.com



More information about the es-discuss mailing list