Transformez itérateur en array js
var arr = Array.from(map.entries());
Rich Rook
var arr = Array.from(map.entries());