Alright, let's convert our arguments into an array so we can apply array methods on it 🙌
function names() {
const argumentsArray = [...arguments];
argumentsArray.map(name => `hi ${name}`);
// ✅ ['hi samantha', 'hi sam']
}
names('samantha', 'sam');