Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
for-of-array
/
for-of-array.es5
blob: d27543f84ade2c7224f93568e6fa8bfa7567ce74 [
file
] [
log
] [
blame
]
var
data
=
[
1
,
2
,
3
];
function
fn
()
{
var
ret
=
''
;
for
(
var
i
=
0
;
i
<
data
.
length
;
i
++)
{
ret
+=
data
[
i
];
}
return
ret
;
}
assertEqual
(
fn
(),
'123'
);
test
(
fn
);