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