Update _.zipObject docs to tie into _.pairs. [ci skip]

This commit is contained in:
jdalton
2015-03-17 16:45:01 -07:00
parent 23ca6c5e10
commit 3590a06f40

View File

@@ -5759,9 +5759,10 @@
var zip = restParam(unzip); var zip = restParam(unzip);
/** /**
* Creates an object composed from arrays of property names and values. Provide * The inverse of `_.pairs`; this method returns an object composed from arrays
* either a single two dimensional array, e.g. `[[key1, value1], [key2, value2]]` * of property names and values. Provide either a single two dimensional array,
* or two arrays, one of property names and one of corresponding values. * e.g. `[[key1, value1], [key2, value2]]` or two arrays, one of property names
* and one of corresponding values.
* *
* @static * @static
* @memberOf _ * @memberOf _