mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Remove references to _.
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
/**
|
||||
* The inverse of `_.toPairs`; this method returns an object composed
|
||||
* The inverse of `toPairs`; this method returns an object composed
|
||||
* from key-value `pairs`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 4.0.0
|
||||
* @category Array
|
||||
* @param {Array} pairs The key-value pairs.
|
||||
* @returns {Object} Returns the new object.
|
||||
* @example
|
||||
*
|
||||
* _.fromPairs([['a', 1], ['b', 2]]);
|
||||
* fromPairs([['a', 1], ['b', 2]]);
|
||||
* // => { 'a': 1, 'b': 2 }
|
||||
*/
|
||||
function fromPairs(pairs) {
|
||||
|
||||
Reference in New Issue
Block a user