Sign in
webkit
/
WebKit
/
5c46bef7ab98d4e8242fd1cdbd4a8339e4d4801f
/
.
/
JSTests
/
microbenchmarks
/
plus-boolean-double.js
blob: 9b5aac80fbaf9e93a44e7b4c6e87f71a1d888a83 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
function
(
True
)
{
var
x
=
0.5
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
+=
True
;
if
(
x
!=
n
+
0.5
)
throw
"Error: bad result: "
+
x
;
})(
true
);