Use Object.entries() to get an array of the object's key-value pairs. · Use Array.prototype.reduce() to map the array to an object. · Use mapFn to ...
確定! 回上一頁