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