Sign in
webkit
/
WebKit
/
6b7c45f751131450b1675ef5b4b89fb3a0e35aba
/
.
/
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
);