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