Skip to content

Instantly share code, notes, and snippets.

@mrryanjohnston
Created June 19, 2011 19:04
Show Gist options
  • Save mrryanjohnston/1034611 to your computer and use it in GitHub Desktop.
Save mrryanjohnston/1034611 to your computer and use it in GitHub Desktop.
Cat = {}
Cat.sound = 'meow!'
Cat.speak = function () {
console.log(this.sound)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment