반응형
Notice
Recent Posts
Recent Comments
Link
반응형
목록extends (1)
반응형
taenyLog

class cat { constructor(name, age) { this.name = name; this.age = age; } eat() { return `${this.name} is eating`; } meow() { return "mEWOOOOE"; } } class dog { constructor(name, age) { this.name = name; this.age = age; } eat() { return `${this.name} is eating`; } bark() { return "VARKRKRRKK"; } } class pet{ constructor(name, age) { this.name = name; this.age = age; } eat() { return `${this.name}..
Web
2023. 6. 20. 08:55