blob: 1df8fdeb0161f882bea3ea8781e997e347b1a418 [file] [log] [blame]
function fn(arg = 1, other = 3) {
return other;
}
assertEqual(fn(), 3);
assertEqual(fn(1, 2), 2);
test(function() {
fn();
fn(2);
fn(2, 4);
});