
//Inheritance from ourselves class Thinker { constructor(name, thought) { this.name = name this.thought = thought } display() { console.log(this.name) } } class Doer extends Thinker { constructor(name, tho...
Markdown supported · ⌘↵ to post
No responses yet.