Foundations: composition aggregation
Opened this issue · 0 comments
gregkorte commented
Create an exercise for the object composition and aggregation resource.
Idea:
Develop 3 new zoos for the state, each zoo having different unique characteristics with different selections of animals.
ChattanoogaZoo = Object.create(Zoo);
billy = Object.create(Goat);
BarnyardArea = Object.create(zooArea);
Barnyard.addAnimal(billy);
ChattanoogaZoo.zones.push(Barnyard);