Related: Object.prototype.pick / Object.prototype.omit - #32 by aleen42
If that gets through, then you could do the following:
doRest(Object.omit(obj, ['name', 'year']))
Related: Object.prototype.pick / Object.prototype.omit - #32 by aleen42
If that gets through, then you could do the following:
doRest(Object.omit(obj, ['name', 'year']))