||= is much needed?

David Herman dherman at mozilla.com
Tue Jun 12 17:57:30 PDT 2012


On Jun 12, 2012, at 11:02 AM, Brendan Eich wrote:

> It's possible ?? or however we spell it isn't worth adding, while ?= is. The conditional assignment to default or normalize is the prime use-case.

I'm skeptical. You don't foresee

    f(obj.x ?? defVal)

happening a lot? I do.

Dave



More information about the es-discuss mailing list