Skip to content

Instantly share code, notes, and snippets.

Created December 17, 2018 07:27
What would you like to do?
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