The values method returns the values in the map as an array which we can loop over using for-of like so: TypeScript. Copy for (let value of map.values()) ...
確定! 回上一頁