foodDemand //function


#1

https://www.codecademy.com/courses/javascript-beginner-en-6LzGd/0/4?curriculum_id=506324b3a7dffd00020bf661#

not sure how to code next...
(Call the function and put in a specific food you want!)
but i am not sure how to code it out!

var foodDemand = function ("food")
console.log("i want to eat" + " " + "food")

#2

take a look at the previous exercise, it explains functions in detail, including function calls.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.