Sign in
webkit
/
WebKit
/
60c577928f8273c73f255a729a12f6b20d2fb63c
/
.
/
JSTests
/
microbenchmarks
/
for-of-array.js
blob: 92e4b69a31ed0488da59685d75232b537d9c6739 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
var
data
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
];
function
fn
()
{
var
ret
=
''
;
for
(
var
value of data
)
ret
+=
value
;
return
ret
;
}
noInline
(
fn
);
for
(
var
i
=
0
;
i
<
1e5
;
++
i
)
fn
();