Given a map, return an array of all keys in the map.

// input:
const m = new Map([['apples', 1], ['bananas', 2], ['carrots', 3]])

// output:
[ 'apples', 'bananas', 'carrots' ]
Loading...
/* output */

Next