UNPKG

bezhinaru

Version:

bezhinaru

36 lines (34 loc) 1.26 kB
/** * return difference between passed date and now * **/ function getYearDiffFromDate(date) { return Math.floor((new Date() - new Date(date).getTime()) / 3.15576e+10) } const bezhinaru = { position: 'Senior Full Stack Engineer', summary: ` Senior software engineer with vast commercial experience in software development. Qualified in both front-end and back-end development, having experience with different JavaScript frameworks and technologies. Enthusiastic team player dedicated to streamlining process and efficiently resolving project issues. `, firstName: 'Anrey', lastName: 'Bezhinaru', githubProfile: 'https://github.com/abezhinaru', linkedIn: 'https://www.linkedin.com/in/andrey-bezhinaru-0547ab91/', phone: '+380631333685', countryOfResidence: 'Ukraine', cityOfResidence: 'Odessa', skills: 'Node, JS, DDD', lifeStatus: 'looking for a new opportunities', birthday: ['01', '07', '1994'], startWorkAt: ['01', '6', '2013'], get age() { return getYearDiffFromDate(`${this.birthday[2]}-${this.birthday[1]}-${this.birthday[0]}`); }, get experienceInYears() { return getYearDiffFromDate(`${this.startWorkAt[2]}-${this.startWorkAt[1]}-${this.startWorkAt[0]}`); } }; export { bezhinaru };