David Herman wrote:
So I favor ?? as well as both ||= and ??=.
As for null, I can see how there's confusion about whether to use null vs undefined, and
so I can see why CoffeeScript would just try to blur the distinction between them. But I
think by sticking to the simpler semantics it will help clarify the distinction. The JS
semantics currently treats only undefined as "no value" and it would continue
to do so.
I agree on all this.
I'll update the strawman soon.
/be
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss