Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
array-length-plain-object.js
blob: 42945ce24763f72b9541ee88c020eb8c500559d9 [
file
] [
log
] [
blame
] [
edit
]
function
foo
(
o
)
{
return
o
.
length
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
testLoopCount
;
++
i
)
{
var
a
=
[
1
];
a
.
f
=
42
;
foo
(
a
);
}
var
result
=
foo
({});
if
(
result
!==
void
0
)
throw
"Error: bad result: "
+
result
;