class SoftwareDeveloper {
name: string;
role: string;
languageSpoken: string[];
constructor() {
this.name = 'Peng Anping';
this.role = 'Software Developer';
this.languageSpoken = ['zh_CN', 'en_US'];
}
sayHi(): void {
console.log('Thanks for visiting! Explore my work and feel free to share your thoughts.');
}
}
const me = new SoftwareDeveloper();
me.sayHi();
pengap Goto Github PK
Name: Pengap
Type: User
Twitter: _Pengap