Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
arrays
/
length-set-after-define-nonconfigurable.js
blob: 38415405653b596a3b0ca8abc29c3e941d828149 [
file
] [
log
] [
blame
]
var
arr
=
[
1
];
Object
.
defineProperty
(
arr
,
1
,
{
value
:
undefined
,
configurable
:
false
});
// no particular reason for 9 -- just enough to trigger property-cache code,
// maybe start JITting a little
for
(
var
y
=
0
;
y
<
9
;
y
++)
arr
.
length
=
1
;