blob: f84826cf1e09427b1676fb436eb609a8b555f412 [file] [log] [blame]
// || binds tighter than =>.
var f;
f = a => a || 'nothing'; // f = ((a => a) || 'nothing');
assertEq(f.length, 1);
assertEq(f(0), 'nothing');
assertEq(f(1), 1);