Created
July 11, 2020 15:34
-
-
Save korECM/57d93d4a43385ffc6d418cb7bc1025e8 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 EspressoIce extends Beverage { | |
constructor() { | |
super(); | |
this.description = "에스프레소~"; | |
} | |
cost() { | |
return 3500; | |
} | |
} | |
class AmericanoIce extends Beverage { | |
constructor() { | |
super(); | |
this.description = "아이스 아메리카노~"; | |
} | |
cost() { | |
return 4500; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment