Source code
Revision control
Copy as Markdown
Other Tools
function foo(x) {
Object.seal(x);
x[3] = 4;
assertEq("" + x, "1,2,3");
}
foo([1,2,3]);
function foo(x) {
Object.seal(x);
x[3] = 4;
assertEq("" + x, "1,2,3");
}
foo([1,2,3]);