Created
July 21, 2018 06:52
-
-
Save jaamaalxyz/d1afad4bdf4aa67d6befaffc940741e5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // Declare a Man class | |
| class Man { | |
| hand(substance) { return `I grab the ${substance}` }; | |
| leg(path) { return `i go to ${path}` }; | |
| mouth(food) { return `I eat ${food}` }; | |
| eye(object) { return `I watch ${object}` }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment