array.from on an object iterable code example Example: turn Iterator into array JS var arr = Array.from(map.entries());