mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import baseSet from './internal/baseSet';
|
||||
|
||||
/**
|
||||
* The inverse of `_.toPairs`; this method returns an object composed
|
||||
* from key-value `pairs`.
|
||||
@@ -21,7 +19,7 @@ function fromPairs(pairs) {
|
||||
|
||||
while (++index < length) {
|
||||
var pair = pairs[index];
|
||||
baseSet(result, pair[0], pair[1]);
|
||||
result[pair[0]] = pair[1];
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user