Question 7
Consider the below JavaScript program.
let users = [ { name: "Alice", age: 25 }, { name: "Bob", age: 22 }, { name: "Charlie", age: 30 },];users.sort((a, b) => a.age - b.age);console.log(users.map((user) => user.name).join(", "));What will be the output when the code is executed?