Sign in
webkit
/
WebKit
/
03e70e7bbd89baf9e6fd704451cb59c4abf5517b
/
.
/
JSTests
/
microbenchmarks
/
max-boolean.js
blob: 847be501c56c0bd843302d2ce1691f72f47685ad [
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
.
max
(
True
,
0
);
if
(
x
!=
n
)
throw
"Error: bad result: "
+
x
;
})(
true
);