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