1 2 3 4 5 6 7 8 9 10 11 12 13
var data = [1,2,3]; function fn() { var ret = ''; for (var value of data) { ret += value; } return ret; } assertEqual(fn(), '123'); test(fn);