Created
July 11, 2020 15:57
-
-
Save korECM/1b29168c814d7c2f349dc8c658b15b27 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
class GreenTea extends Beverage { | |
constructor() { | |
super(); | |
this.description = "그린티~"; | |
} | |
cost() { | |
return 3500; | |
} | |
} | |
class GreenTeaIce extends Beverage { | |
constructor() { | |
super(); | |
this.description = "아이스 그린티~"; | |
} | |
cost() { | |
return 4000; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment