Sign in
webkit
/
WebKit
/
3f78a298b8cb2d7ccc1b4dafb89a4d60eb2fbe8f
/
.
/
JSTests
/
microbenchmarks
/
min-boolean.js
blob: 8d6b5c30c61f40bd3fe126c6471eca588007df0a [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
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
);