Sign in
webkit
/
WebKit
/
c237475210db4fe10d1014ae2954660ab167db05
/
.
/
JSTests
/
microbenchmarks
/
for-of-array.js
blob: b378bf10d4dc49b3544eedd6aefa8e6f8ad2c02e [
file
] [
log
] [
blame
]
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
();