2 * Adds the key-value `pair` to `map`.
5 * @param {Object} map The map to modify.
6 * @param {Array} pair The key-value pair to add.
7 * @returns {Object} Returns `map`.
9 function addMapEntry(map, pair) {
10 // Don't return `map.set` because it's not chainable in IE 11.
11 map.set(pair[0], pair[1]);
15 module.exports = addMapEntry;