function greet(...names, message) { // SyntaxError generated console.log(message + ' everyone!'); names.forEach(name => console.log('Hi ' + name)); } greet('Welcome', 'Mary', 'John', 'James');