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