Sebastian McKenzie cb54c11d84 add esnext tests
2015-01-04 07:39:11 +11:00

6 lines
96 B
JavaScript

function foo(x=5, y=6) {
return [x, y];
}
assert.deepEqual(foo(undefined, null), [5, null]);