Add IE 11 doc note to addMapEntry. [ci skip]

This commit is contained in:
John-David Dalton
2016-02-27 11:13:51 -08:00
parent ac62c24c4a
commit 2e790fb865

View File

@@ -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;
}