interface Person { name: string; age: number; } class Greeter { greeting: string; constructor(message: string) { this.greeting = message; } greet(person: Person) { return `Salom, ${person.name}! You are ${person.age} years old.`; } } let greeter = new Greeter"World"); let person = { name: "John", age: 30 }; console.log ((greeter.greet(person));
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence