class TheLokin {
private name: string;
private username: string;
private location: string;
constructor() {
this.name = 'Diego Ramil López';
this.username = 'TheLokin';
this.location = 'Spain';
}
introduce(): string {
return `
Hi, I'm ${this.name}, but you can call me '${this.username}' (because 'Master of Divs' was taken).
I'm a Frontend Developer from ${this.location} who lives on a steady diet of coffee and CSS bugs.
`;
}
debug(): void {
console.log(`Debugging ${this.username}...`);
setTimeout(() => console.log('Still debugging...'), 1000);
setTimeout(() => console.log('Alright, fixed... for now.'), 3000);
}
}
// Main function to meet me
(function main() {
const me = new TheLokin();
console.log(me.introduce());
me.debug();
})();


