I need to get the un-destructed parameters inside a function. What would be the best way?
const foo = ({url, options, header, body, auth = 1}) => {
//...do things with the parameters...
let params = {url, options, header, body, auth}; // Is there an easy way?
bar(params);
}