class SoftwareDeveloper {
name: string;
role: string;
languageSpoken: string[];
constructor(params: {
name: string;
role: string;
languageSpoken: string[];
}) {
this.name = params.name;
this.role = params.role;
this.languageSpoken = params.languageSpoken;
}
sayHi(): void {
console.log("Hi! I hope you find something interesting here!");
}
}
const me = new SoftwareDeveloper({
name: "Ahmad Faisal",
role: "Software Developer",
languageSpoken: ["id_ID", "en_US"],
});
me.sayHi();
- LinkedIn: https://www.linkedin.com/in/ahmadmfaisal/
- Hackerrank: https://www.hackerrank.com/ahmad_faisalewy
- Instagram: https://www.instagram.com/fzl_22/