Lodash - _.omit going away for good

in one of the recent issue#2930 in Lodash its been highlighted that omit method is being removed in version 5.0.0.

Why it is being removed

As per @jdalton The omit method is less optimal and more complex since it has to pull in the universe (inherited and own enumerable string key properties and symbols) and then exclude a handful of properties. hence it makes a lot impact in performance

What's alternative

The alternative are quite simple on the other hand, if you love to use es6 spread operator then you can simple replace omit method with that, or you can also use _.pick or _.pickBy

Sort:  

@abhirathore2006, congratulations on making your first post! I gave you an upvote!
Please take a moment to read this post regarding commenting and spam. (tl;dr - if you spam, you will be flagged!)

Coin Marketplace

STEEM 0.20
TRX 0.12
JST 0.029
BTC 61478.26
ETH 3385.94
USDT 1.00
SBD 2.52