Functions


#1

I have been working on this for an hour

ar foodDemand = fuction (food)
{console.log("I want to eat" +food);}
// Write your foodDemand function below.
// Last hint: In your reusable block of code, end each line
// with a semicolon (:wink:
foodDemand("cheese");

No idea what to do


#2

the top line has the "v" in var. it just didn't copy


#3

you spelled function wrong.


#4

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