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