A variation of it is valid for method selection, such as:
(cond ? a.foo : b.bar)();
(a.foo || a.fooDefault)();
A variation of it is valid for method selection, such as:
or, for method fallback: Neither does work in js, though.