Sign in
webkit
/
WebKit
/
2ab9dfaee5c791e0d7b2c0893a55ced8677e2e2a
/
.
/
PerformanceTests
/
SixSpeed
/
tests
/
for-of-array
/
for-of-array.es6
blob: b64378948b2a224b880b802db3692833db7b5820 [
file
] [
log
] [
blame
]
var
data
=
[
1
,
2
,
3
];
function
fn
()
{
var
ret
=
''
;
for
(
var
value of data
)
{
ret
+=
value
;
}
return
ret
;
}
assertEqual
(
fn
(),
'123'
);
test
(
fn
);