Sign in
webkit
/
WebKit
/
9f9c15eb6fdc193d77c7e606d643d4b8ec49399b
/
.
/
JSTests
/
microbenchmarks
/
neg-boolean.js
blob: 032c77d2c99601e869766b3d59e0aa97fa2a4406 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
(
function
(
True
)
{
var
x
=
0.5
;
var
n
=
1000000
for
(
var
i
=
0
;
i
<
n
;
++
i
)
x
+=
-
True
;
if
(
x
!=
0.5
-
n
)
throw
"Error: bad result: "
+
x
;
})(
true
);