Created
December 17, 2018 07:27
-
-
Save debugmodedotnet/ca560cacd61b5bcb135b9096f30ad4d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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