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