Sign in
webkit
/
WebKit
/
8e29b3d7cb791dc7cac89a3f1ad250bef2d6f1cb
/
.
/
JSTests
/
microbenchmarks
/
to-number-only-number.js
blob: 46aa2f13bdec4b775b112159040438662e940ef9 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function
test
(
value
)
{
return
+
value
;
}
var
result
=
0
;
for
(
var
i
=
0
;
i
<
1e4
;
++
i
)
result
=
test
(
i
);
if
(
result
!==
9999
)
throw
new
Error
(`
bad result $
{
result
}`);