From b6ccb4c96fdc8c54978302ba86ae61708471872f Mon Sep 17 00:00:00 2001 From: bryce-gibson Date: Thu, 12 Mar 2015 16:02:08 +1100 Subject: [PATCH] Add example of alternative `_.zipObject` syntax. [ci skip] --- lodash.src.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lodash.src.js b/lodash.src.js index a1e973a55..e48ffaa5b 100644 --- a/lodash.src.js +++ b/lodash.src.js @@ -5642,6 +5642,9 @@ * @returns {Object} Returns the new object. * @example * + * _.zipObject([['fred', 30], ['barney', 40]]); + * // => { 'fred': 30, 'barney': 40 } + * * _.zipObject(['fred', 'barney'], [30, 40]); * // => { 'fred': 30, 'barney': 40 } */