Exercise 3: Place Order
Practice function implementation by solving the tasks given in this lesson.
We'll cover the following...
Problem statement
In this exercise, you are required to complete the placeOrder()
function to get the desired output.
Function description
The placeOrder()
function assumes values for shipping and date if those values are not given.
There are two requirements that the function needs to implement:
- The default value of
date
should