Source code
Revision control
Copy as Markdown
Other Tools
// |jit-test| error: TypeError
"use strict"
var g = newGlobal();
g.eval("foo = {}; Object.defineProperty(foo, 'a', {value: 2, writable: false});");
g.foo.a = 3;
// |jit-test| error: TypeError
"use strict"
var g = newGlobal();
g.eval("foo = {}; Object.defineProperty(foo, 'a', {value: 2, writable: false});");
g.foo.a = 3;