Kevin Smith wrote: > > entries() returns an iterator, not an array. > > > let map2 = new Map([...map1].map(([k, v]) => [k, v * 2]) Sweet! /be
Sweet!