function helloWorld(name) { // This is a simple function const greeting = `Hello, ${name}!`; console.log(greeting); } class User { constructor(id, username) { this.id = id; this.username = username; } displayInfo() { return `User ID: ${this.id}, Username: ${this.username}`; } } const myUser = new User(1, 'Alice'); console.log(myUser.displayInfo());