mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Remove references to _.
This commit is contained in:
@@ -2,11 +2,10 @@ import assignValue from './_assignValue.js';
|
||||
import baseZipObject from './_baseZipObject.js';
|
||||
|
||||
/**
|
||||
* This method is like `_.fromPairs` except that it accepts two arrays,
|
||||
* This method is like `fromPairs` except that it accepts two arrays,
|
||||
* one of property identifiers and one of corresponding values.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 0.4.0
|
||||
* @category Array
|
||||
* @param {Array} [props=[]] The property identifiers.
|
||||
@@ -14,7 +13,7 @@ import baseZipObject from './_baseZipObject.js';
|
||||
* @returns {Object} Returns the new object.
|
||||
* @example
|
||||
*
|
||||
* _.zipObject(['a', 'b'], [1, 2]);
|
||||
* zipObject(['a', 'b'], [1, 2]);
|
||||
* // => { 'a': 1, 'b': 2 }
|
||||
*/
|
||||
function zipObject(props, values) {
|
||||
|
||||
Reference in New Issue
Block a user