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