Sorry, I misunderstood. CoffeeScript has ? (no ternary, so its doable there) but I haven't seen it used much.
On Jun 12, 2012, at 11:14 PM, David Herman wrote: > On Jun 12, 2012, at 7:41 PM, Ryan Florence wrote: > >>> I'm skeptical. You don't foresee >>> >>> f(obj.x ?? defVal) >>> >>> happening a lot? I do. >> >> I can't speak for the world but I've never seen anybody do f(val ||= defVal) >> in Ruby or CoffeeScript. > > But I'm not talking about ||=. I'm talking about the analog of ||. > > Dave >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

