class Astpod {
constructor(...options) {
this.height = "1.87"
this.weight = "83"
this.type = "human"
this.job = "Turkish Soldier (Lieutenant)"
this.gender = "male"
}
}
class CreateMan extends Astpod {
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 Astpod = new CreateMan()
Astpod.createDay();