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