I`m a 26 years old Frontend Developer very passionate about my technologies and software Development. I can use the following languages, libraries, frameworks or technologies.
class FrontendDev {
private name: string;
private age: number;
private technologies: string[]; // List of all Frameworks, languages, libraries and general knowledges
private languages: { name: string, level: string }[]; // Languages that I speak
private wishlist: string[];
constructor(name: string, age: number, technologies: string[], languages: { name: string, level: string }[], wishlist: string[]) {
this.name = name;
this.age = age;
this.technologies = technologies;
this.languages = languages;
this.wishlist = wishlist;
}
greet(): string {
return `Hello, my name is ${ this.name } and I'm ${ this.age } years old`
}
myTechnologies(): string {
return `As a developer I have knowledge about those things: ${ this.technologies.join(', ') }`
}
myLanguages(): string {
let answer: string[] = []
this.languages.forEach((language: any) => {
answer.push(`${ language.level } ${ language.name }`)
})
return `I can speak and write ${ answer.join(', ') }`
}
returnWishlist(): string {
return `I wish to ${ this.wishlist.join(', ') }`
}
}
let me = new FrontendDev(
'Arthur Nassar',
26,
['HTML', 'CSS', 'Bootstrap', 'SASS', 'Javascript', 'VueJS', 'Vue Router', 'Vuex', 'React', 'Redux', 'React Router', 'Typescript', 'MongoDB', 'NestJS', 'PHP'],
[ { name: 'Portuguese', level: 'native' }, { name: 'English', level: 'advanced' }, { name: 'French', level: 'beginner' } ],
[ 'Finish my ongoing React pathfinder project', 'Write an academic article about front-end technologies', 'Participate in a software development presencial event' ]
);
console.log(me.greet())
// Hello, my name is Arthur Nassar and I`m 26 years old
console.log(me.myTechnologies())
// As a developer I have knowledge about those things: HTML, CSS, Bootstrap, SASS, Javascript, VueJS, Vue Router, Vuex, React, Redux, React Router, Typescript, MongoDB, NestJS, PHP
console.log(me.myLanguages())
// I can speak and write native Portuguese, advanced English, beginner French
console.log(me.returnWishlist())
// I wish to Finish my ongoing React pathfinder project, Write an academic article about front-end technologies, Participate in a software development presencial event