Skip to content

Instantly share code, notes, and snippets.

@bentranter
Created April 4, 2015 20:23
Show Gist options
  • Save bentranter/1af104a3a8a2c1155fd8 to your computer and use it in GitHub Desktop.
Save bentranter/1af104a3a8a2c1155fd8 to your computer and use it in GitHub Desktop.
(function() {
'use strict';
function BenTranter() {
this.contactInfo = {
positon: 'Front-End Dev',
email : '[email protected]',
phoneNo: 8076213561
};
this.education = {
university: 'Lakehead University',
major : 'Computer Science',
graduated : false
};
this.workExperience = {
job1: {
companyName : 'Bolt Media',
position : 'Front End Dev',
jobDescription: 'JavaScript'
},
job2: {
companyName : 'Freelance',
position : 'Web Application Dev',
jobDescription: 'Hustlin\''
}
};
this.skills = {
devSkills: {
frontEnd : ['HTML5', 'CSS', 'SASS', 'Backbone', 'React', 'Angular'],
backEnd : ['Node.js', 'Express', 'Socket.io', 'Hapi'],
fullStack: ['Meteor'],
databases: ['MongoDB', 'RethinkDB', 'MySQL', 'PostgreSQL']
},
designSkills: ['Sketch', 'Framer', 'in-browser design/prototyping'],
other : ['Git', 'Grunt/Gulp', 'Documentation', 'Bilingual (English and French)']
};
}
BenTranter.prototype = {
getContactInfo: function() {
console.log(this.contactInfo);
},
getEducation: function() {
console.log(this.education);
},
getWorkExperience: function() {
console.log(this.workExperience);
},
getSkills: function(){
console.log(this.skills);
}
};
var nextHire = new BenTranter();
nextHire.getContactInfo();
nextHire.getEducation();
nextHire.getWorkExperience();
nextHire.getSkills();
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment