Source code

Revision control

Copy as Markdown

Other Tools

// for-of works on arrays.
var a = ['a', 'b', 'c'];
var s = '';
for (var v of a)
s += v;
assertEq(s, 'abc');