michael@0: // for-of can be used in array comprehensions. michael@0: michael@0: assertEq([x*x for (x of [1, 2, 3])].join(), "1,4,9");