Skip to content

Instantly share code, notes, and snippets.

@korECM
Created July 11, 2020 15:57
Show Gist options
  • Save korECM/1b29168c814d7c2f349dc8c658b15b27 to your computer and use it in GitHub Desktop.
Save korECM/1b29168c814d7c2f349dc8c658b15b27 to your computer and use it in GitHub Desktop.
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