Sign in
chromium
/
external
/
github.com
/
WebKit
/
webkit
/
refs/heads/main
/
.
/
JSTests
/
stress
/
value-to-int32-undefined.js
blob: 89e24d9e822990c5c3ad1fb4287c0f4609fb40d5 [
file
] [
edit
]
function
foo
(
a
)
{
return
a
|
0
;
}
noInline
(
foo
());
for
(
var
i
=
0
;
i
<
testLoopCount
;
++
i
)
{
var
result
=
foo
(
void
0
);
if
(
result
!=
0
)
throw
"Error: bad result: "
+
result
;
}