Codefunction greet(name) { console.log(`Hello, ${name}!`);}const person = { name: 'Alice' };greet(person.name);