mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 11:27:50 +00:00
Add IE 11 doc note to addMapEntry. [ci skip]
This commit is contained in:
@@ -381,6 +381,7 @@
|
|||||||
* @returns {Object} Returns `map`.
|
* @returns {Object} Returns `map`.
|
||||||
*/
|
*/
|
||||||
function addMapEntry(map, pair) {
|
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]);
|
map.set(pair[0], pair[1]);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user