Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
get-array-length-phantom-new-array-buffer.js
blob: 188da3636ac2472cd9752939701feae350bf7c50 [
file
] [
log
] [
blame
] [
edit
]
function
effects
()
{}
noInline
(
effects
);
function
foo
()
{
let x
=
[
1
,
2
,
3
];
effects
();
return
x
.
length
;
}
noInline
(
foo
);
for
(
let i
=
0
;
i
<
testLoopCount
;
++
i
)
{
if
(
foo
()
!==
3
)
throw
new
Error
();
}