Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 // Using shift to cut values out of an array does not change the next index of an existing iterator.
2
3 var a = [1, 2, 3, 4, 5, 6, 7, 8];
4 var s = '';
5 for (var v of a) {
6 s += v;
7 a.shift();
8 }
9 assertEq(s, '1357');