在TypeScript 中,使用for...of 语句或者Array.prototype.forEach() 方法来遍历数组。 for...of 语句支持使用break 和continue 来控制循环。
確定! 回上一頁