Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
bug596351-1.js
blob: f4d764a6d0095271b75ff676e0ecdc5d81acdb3d [
file
] [
log
] [
blame
]
// |jit-test| error: TypeError
"use strict"
var
g
=
newGlobal
();
g
.
eval
(
"foo = {}; Object.defineProperty(foo, 'a', {value: 2, writable: false});"
);
g
.
foo
.
a
=
3
;