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