Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created December 17, 2018 07:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debugmodedotnet/ca560cacd61b5bcb135b9096f30ad4d3 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/ca560cacd61b5bcb135b9096f30ad4d3 to your computer and use it in GitHub Desktop.
var dog = new animal('foo', 5);
dog.canRun(); // yes foo can run
var cat = new animal('koo', 3);
cat.canRun(); // yes koo can run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment