但是JS中这种键值对映射有点问题:key只能为string类型。 ... map.keys(); for (key of keys) { console.log(key); // map.get(key)可得value值。 } ...
確定! 回上一頁