To get the first element from a Map , use destructuring assignment, e.g. const [firstKey] = map.keys() and const [firstValue] = map.values() .
確定! 回上一頁