Sign in
webkit
/
WebKit
/
b387ed984cfa86e07321d6d915fc6d801afbcecc
/
.
/
JSTests
/
microbenchmarks
/
plus-boolean-arith.js
blob: 4bf30b4fac08539dda09fa80519622a921f007b5 [
file
] [
log
] [
blame
]
(
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
);