class savagery {
constructor(...options) {
this.height = "1.85"
this.weight = "82"
this.type = "human"
this.job = "student"
this.sex = "male"
}
}
class CreateMan extends Savagery {
constructor(...options) {
super(options);
}
private _eating() {
void "eating π π π π₯€"
}
private _coding() {
void "coding... β€οΈ"
}
private _sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)) }
async createDay() {
this._eating()
this._coding()
await this._sleep(18000000)
this.createDay()
}
}
let Savagery = new CreateMan()
Savagery.createDay();
darkcim Goto Github PK
Type: User
Bio: Darkdays & Savagery Full Stack Dev </>
Location: Turkey