class Person {
constructor(name, birthdate, profession, location, interests) {
this.name = name;
this.birthdate = birthdate;
this.profession = profession;
this.location = location;
this.interests = interests;
}
timeTravelTo(date) {
throw new Error("Error 501: Time Machine Not Implemented. This feature hasn't been implemented yet. Try again in the future.");
}
procrastinate() {
const tomorrow = new Date(Date.now() + 24 * 60 * 60 * 1000);
console.log("All work has successfully been scheduled for tomorrow, " + tomorrow.toDateString() + ".");
}
}
const me = new Person(
"Andrés Navarro S.",
"1988-11-12",
"Software Developer",
"Santiago, Chile",
["Programming", "Reading", "Video games", "TCG's"]
);
me.procrastinate();
Feel free to reach out to me for any inquiries or collaborations using the links below, or alternatively, you can check my portfolio to learn more about my work.