In this challenge, you need to create a virtual smoothie bar.
Use arrays to store the names of your ingredients, and define functions to select ingredients from those arrays.
Next, define a function to act like a blender, printing the selected ingredients to the console with a message saying they are being mixed. Use callbacks to call the functions which selected the ingredients.
When the blender is done mixing, print a message saying ‘your smoothie is ready!’
Feel free to be creative with different ingredients and many arrays to store them in to make really interesting smoothies!