Sign in
webkit
/
WebKit
/
6113a84dadd0dcc86f4c38278f18f255a7fef196
/
.
/
JSTests
/
microbenchmarks
/
neg-boolean.js
blob: 6beb413e0d33ef3022b05f7863f5738a9479d728 [
file
] [
log
] [
blame
]
(
function
(
True
)
{
var
x
=
0.5
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
+=
-
True
;
if
(
x
!=
0.5
-
n
)
throw
"Error: bad result: "
+
x
;
})(
true
);