Skip to content

Instantly share code, notes, and snippets.

@jaredlewis
Last active December 15, 2015 14:09
Show Gist options
  • Save jaredlewis/5272704 to your computer and use it in GitHub Desktop.
Save jaredlewis/5272704 to your computer and use it in GitHub Desktop.
var Travis = {
isCrushing: function(){
return false;
},
hasTinyThighs: function(){
return true;
}
};
console.log(Travis.isCrushing());
var TravisClass = function(){
this.init();
};
TravisClass.prototype = {
tinyThighs: true,
init: funtion(){
console.log('this is the travis class init');
console.log(this.tinyThighs);
}
};
new TravisClass();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment