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