I have an array of keys which I am interested in like
fillable = ['name', 'lastname', 'address' ]
and the request
object can send any number of params
I want to create a new data object which consists of only variables represented by fillable
array
Is there a better way to do this, without looping ? in ES6 or so