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