Sign in
webkit
/
WebKit
/
d4f65fcc3c5c5e5acf4da0072f42bc48017306dc
/
.
/
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
);