Created
April 7, 2020 15:23
-
-
Save jsmanifest/c13d16da800939ef19eb7fbcd0f1a4f0 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
class Frog { | |
constructor(name, gender, weight) { | |
this.name = name | |
this.gender = gender | |
this.weight = weight | |
} | |
jump() { | |
console.log('jumped') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment