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