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