Untitled

 avatar
unknown
plain_text
2 years ago
243 B
4
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...