summaryrefslogtreecommitdiff
path: root/tools/eslint/node_modules/lodash/_addMapEntry.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eslint/node_modules/lodash/_addMapEntry.js')
-rw-r--r--tools/eslint/node_modules/lodash/_addMapEntry.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/eslint/node_modules/lodash/_addMapEntry.js b/tools/eslint/node_modules/lodash/_addMapEntry.js
index c76dc3fddb..0112ef7442 100644
--- a/tools/eslint/node_modules/lodash/_addMapEntry.js
+++ b/tools/eslint/node_modules/lodash/_addMapEntry.js
@@ -7,6 +7,7 @@
* @returns {Object} Returns `map`.
*/
function addMapEntry(map, pair) {
+ // Don't return `Map#set` because it doesn't return the map instance in IE 11.
map.set(pair[0], pair[1]);
return map;
}