Here, Object.entries returns the array of key/value pairs: [ ["name","John"], ["age", 30] ] . That's what Map needs.
確定! 回上一頁