Given a map and a key, return the value for the key.
// input: const m = new Map([['apples', 1], ['bananas', 2], ['carrots', 3]]), k = 'carrots' // output: 3
/* output */