1 2 3 4 5 6 7 8 9
// A break statement leaves a for-of loop. var log = ''; for (var x of ['a', 'b', 'c']) { log += x; if (x === 'b') break; } assertEq(log, "ab");