I need to remove lodash from an old project I never used lodash before so I couldn't understand and couldn't find an example for this one. how to change this : _.find(x, ['y', z]) is that equal to:
_.find(x, ['y', z])
x.find( (e) => (e.y === y && e.z === z))