붕어빵 틀 (클래스) -> 팥 삽입 -> 팥 붕어빵(오브젝트)
붕어빵 틀 (클래스) -> 크림 삽입 -> 크림 붕어빵(오브젝트)
class Bbang {
constructor(material){
this.material = material;
}
}
붕어빵 틀 클래스 생성
어떻게 생겨 먹은 붕어를 만들지 디테일한 틀 디자인 - 생성자
```
const redBbang = new Bbang('redBean'); // 팥 붕어빵
const ShuBbang = new Bbang('ShuCream'); // 슈크림 붕어빵
new 키워드를 사용해 팥, 슈크림빵을 생성