Arrays are used for storing ordered collections. ... let map = new Map(); map.set('1', 'str1'); // a string key map.set(1, 'num1'); ...
確定! 回上一頁