Solution Review: Purchase Items
Let’s take a look at the solution to the "Purchase Items" problem.
We'll cover the following...
We'll cover the following...
Task 1
Let’s dive into the solution to task 1.
Solution
Explanation
The first task requires us to add the third function call so that output is
bread, milk, eggs, donuts, tea.
-
We have two arrays:
mustHavesdefined at line 8 andandAlsodefined at line 9. -
...