Removed modules/contrib/media module to allow update to the core media module
[yaffs-website] / node_modules / uncss / node_modules / lodash / internal / addMapEntry.js
1 /**
2  * Adds the key-value `pair` to `map`.
3  *
4  * @private
5  * @param {Object} map The map to modify.
6  * @param {Array} pair The key-value pair to add.
7  * @returns {Object} Returns `map`.
8  */
9 function addMapEntry(map, pair) {
10   map.set(pair[0], pair[1]);
11   return map;
12 }
13
14 module.exports = addMapEntry;