Sign in
webkit
/
WebKit
/
622cae2f48887ded7f52fd4826a323449e0e0795
/
.
/
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
();