Source code
Revision control
Copy as Markdown
Other Tools
function f(useArg2, arg2, expect) {
var args = arguments;
if (useArg2)
args = arg2;
assertEq(args.length, expect);
}
f(false, 0, 3);
f(false, 0, 3);
function f(useArg2, arg2, expect) {
var args = arguments;
if (useArg2)
args = arg2;
assertEq(args.length, expect);
}
f(false, 0, 3);
f(false, 0, 3);