Version 1
[yaffs-website] / node_modules / grunt-legacy-util / node_modules / lodash / _addMapEntry.js
diff --git a/node_modules/grunt-legacy-util/node_modules/lodash/_addMapEntry.js b/node_modules/grunt-legacy-util/node_modules/lodash/_addMapEntry.js
new file mode 100644 (file)
index 0000000..c76dc3f
--- /dev/null
@@ -0,0 +1,14 @@
+/**
+ * Adds the key-value `pair` to `map`.
+ *
+ * @private
+ * @param {Object} map The map to modify.
+ * @param {Array} pair The key-value pair to add.
+ * @returns {Object} Returns `map`.
+ */
+function addMapEntry(map, pair) {
+  map.set(pair[0], pair[1]);
+  return map;
+}
+
+module.exports = addMapEntry;