How to map a Map
2016 comes to an end, and ES6 is everywhere. But with ES6, came some new syntax and APIs. This article aims to answer to a very specific question : How to map a Map into an array ?
tl;dr: Just use Array.from(map, ([key, value]) => value)