||= is much needed?

Tab Atkins Jr. jackalmage at gmail.com
Thu Jun 14 16:12:57 PDT 2012


On Thu, Jun 14, 2012 at 4:06 PM, Aymeric Vitte <vitteaymeric at gmail.com> wrote:
> Nobody (except w3c) is using null, or when someone is using it, it is the
> same way as undefined, and it is not explicit (ie a||b or a==b, not
> a===null), I remind some old code where we could see the use of null but can
> not find a single example of recent code, then the new operator(s) should
> treat it the same way I believe, the problem is 0 here

Your experience isn't necessarily universal.  I've used null before to
mean something different than undefined.

~TJ


More information about the es-discuss mailing list