陣列中for...of 的基本用法. for...of 的使用非常簡單,以陣列為例: let arr = [10, 20, 30] for(let value of arr){ console.log(value); // 10, ...
確定! 回上一頁