const args = 'bar'; function foo(...args) { return args; }