Sign in
webkit
/
WebKit
/
8bd21b2c1a8dc74ff26cccab9c7ce3d410ce00a0
/
.
/
JSTests
/
microbenchmarks
/
abs-boolean.js
blob: f5f33a5dcecfd63f3c9249d4c21ea635f7de1881 [
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
.
abs
(
True
);
if
(
x
!=
n
)
throw
"Error: bad result: "
+
x
;
})(
true
);