如前所述,如果对象的键不是 string 或 symbol ,JS 将隐式地将其转换为字符串。 幸运的是, map 的键类型没有问题. const numbersMap = new Map ...
確定! 回上一頁