Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
basic
/
write-frozen-property.js
blob: 18a12d1d72ea66444e83b26ee3609612759d56d0 [
file
] [
log
] [
blame
]
function
foo
(
x
)
{
x
.
a
=
10
;
assertEq
(
x
.
a
,
0
);
}
x
=
{
a
:
0
,
b
:
1
};
Object
.
freeze
(
x
);
foo
(
x
);