Example 1: js map constructor let myMap = new Map([ [1, 'one'], // [key, value] [2, 'two'], [3, 'three'], ]) // from MDN Example 2: array map const array1 ...
確定! 回上一頁