Sign in
webkit
/
WebKit
/
9883cbe1bf60a391ee4a71c6f30047b3cbc9bbbd
/
.
/
JSTests
/
microbenchmarks
/
abs-boolean.js
blob: 01348aca3236f8e55504d190c2c9009827a57a33 [
file
] [
log
] [
blame
]
(
function
(
True
)
{
var
x
=
0
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
+=
Math
.
abs
(
True
);
if
(
x
!=
n
)
throw
"Error: bad result: "
+
x
;
})(
true
);