Source code
Revision control
Copy as Markdown
Other Tools
function foo(x) {
x.a = 10;
assertEq(x.a, 0);
}
x = {a:0,b:1};
Object.freeze(x);
foo(x);
function foo(x) {
x.a = 10;
assertEq(x.a, 0);
}
x = {a:0,b:1};
Object.freeze(x);
foo(x);