null 是基本型別之一,但 typeof null 卻得到object,而非null! ... const map = new Map(); map.set('1', 'str1'); // 鍵值是字串 map.set(1, ...
確定! 回上一頁