Untitled
unknown
plain_text
3 years ago
243 B
8
Indexable
class User {
constructor(name, age, email, address) {
this.name = name;
this.age = age;
this.email = email;
this.address = address;
}
}
// Usage
const user = new User("John Doe", 30, "john.doe@example.com", "123 Main St");Editor is loading...