Sign in
webkit
/
WebKit
/
87a7a7c1c7f13f5553e380a9e21b89f73f375cdc
/
.
/
JSTests
/
stress
/
get-array-length-phantom-new-array-buffer.js
blob: 0810c7822ac140c52d7bbff69ce193d6107356e7 [
file
] [
log
] [
blame
]
function
effects
()
{}
noInline
(
effects
);
function
foo
()
{
let x
=
[
1
,
2
,
3
];
effects
();
return
x
.
length
;
}
noInline
(
foo
);
for
(
let i
=
0
;
i
<
100000
;
++
i
)
{
if
(
foo
()
!==
3
)
throw
new
Error
();
}