From 2e790fb865d8c526ad7d90f725bd9b020d1bb3b6 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sat, 27 Feb 2016 11:13:51 -0800 Subject: [PATCH] Add IE 11 doc note to `addMapEntry`. [ci skip] --- lodash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lodash.js b/lodash.js index 59fe11057..ffdc66ac8 100644 --- a/lodash.js +++ b/lodash.js @@ -381,6 +381,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; }