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