Tinkoff/utils.js

Not obvious behavior of omit

sp3ber opened this issue · 0 comments

Omit not stringifies numbers for object key equation
ramda.omit([1], {'1': 'hello'}); // {} - empty object lodash.omit({'1': 'hello' }, [1]) // {} - empty object omit([1], {'1': 'hello'}); // {'1': 'hello} - not empty object, because 1 is number