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