Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const make_cheesecake = type => {
- let factory = new CheesecakeFactory();
- cheesecake = factory.create_cheesecake(type)
- cheesecake.make_crust
- cheesecake.add_layers
- cheesecake.bake
- cheesecake.refrigerate
- cheesecake.add_toppings
- cheesecake
- }
Add Comment
Please, Sign In to add comment