const iterable = ['t', 'a', 'e'];
for (let value of iterable) {console.log(value); // t a
if (value === 'a') {break; // 跳出循环}
}
const iterable = ['t', 'a', 'e'];
for (let value of iterable) {console.log(value); // t a
if (value === 'a') {break; // 跳出循环}
}