Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
JSTests
/
stress
/
array-length-array-storage-plain-object.js
blob: e4249332440da0453abf0fb52f4d630719380a6a [
file
] [
log
] [
blame
]
function
foo
(
o
)
{
return
o
.
length
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
10000
;
++
i
)
{
var
a
=
[
1
];
a
.
length
=
99999999
;
a
.
f
=
42
;
foo
(
a
);
}
var
result
=
foo
({});
if
(
result
!==
void
0
)
throw
"Error: bad result: "
+
result
;