這是ES6 中一種新的資料結構,每組資料都有對應的key 值與value 值,所以Map 在 ... let map = new Map([ [1, 'one'], [2, 'two'] ]); for (let key of map.keys()) ...
確定! 回上一頁