function getAge(...args) { console.log(typeof args);}...
const person = { name: 'Lydia', age: 21,...
const getList = ([x, ...y]) => [x, y]const getUser = user => { name: user.name, age: user.age } ...