mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 10:17:48 +00:00
Bump to v4.14.0.
This commit is contained in:
4
omit.js
4
omit.js
@@ -2,8 +2,8 @@ import arrayMap from './_arrayMap.js';
|
||||
import baseDifference from './_baseDifference.js';
|
||||
import baseFlatten from './_baseFlatten.js';
|
||||
import basePick from './_basePick.js';
|
||||
import baseRest from './_baseRest.js';
|
||||
import getAllKeysIn from './_getAllKeysIn.js';
|
||||
import rest from './rest.js';
|
||||
import toKey from './_toKey.js';
|
||||
|
||||
/**
|
||||
@@ -25,7 +25,7 @@ import toKey from './_toKey.js';
|
||||
* _.omit(object, ['a', 'c']);
|
||||
* // => { 'b': '2' }
|
||||
*/
|
||||
var omit = rest(function(object, props) {
|
||||
var omit = baseRest(function(object, props) {
|
||||
if (object == null) {
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user