Create a function that receives a parameter of food. If your parameter food is going to have a value of "milk" the function should print into the console the following:
"I'm going to buy milk from the grocery shop"
But if you dont pass a value to your parameter food, it should print "I'm going to buy something from the grocery shop"
*/
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
**** Challenge *****
Create a function that receives a parameter of food.
If your parameter food is going to have a value of "milk"
the function should print into the console the following:
"I'm going to buy milk from the grocery shop"
But if you dont pass a value to your parameter food, it should print
"I'm going to buy something from the grocery shop"