class A{
buy(){
console.log("Buy A")
}
}
class B{
buy(){
console.log("Buy B")
}
}
class C{
buy(){
console.log("Buy C")
}
}
const a = new A();
a.buy()
const b = new B();
b.buy()
class A{
buy(){
console.log("Buy A")
}
}
class B{
buy(){
console.log("Buy B")
}
}
class C{
buy(){
console.log("Buy C")
}
}
const a = new A();
a.buy()
const b = new B();
b.buy()