From da146a9afdd0a07baeb3db393e485e2b754b8cd9 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 27 Apr 2016 10:25:02 -0700 Subject: [PATCH] Add map doc note to `_.toPairs` and `_.toPairsIn`. [ci skip] --- lodash.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 724e4f573..dd0466f91 100644 --- a/lodash.js +++ b/lodash.js @@ -12885,7 +12885,8 @@ /** * Creates an array of own enumerable string keyed-value pairs for `object` - * which can be consumed by `_.fromPairs`. + * which can be consumed by `_.fromPairs`. If `object` is a map, its entries + * are returned. * * @static * @memberOf _ @@ -12910,7 +12911,8 @@ /** * Creates an array of own and inherited enumerable string keyed-value pairs - * for `object` which can be consumed by `_.fromPairs`. + * for `object` which can be consumed by `_.fromPairs`. If `object` is a map, + * its entries are returned. * * @static * @memberOf _