Pleas I need help with this exercise!


#1

https://www.codecademy.com/courses/introduction-to-javascript/lessons/higher-order-functions/exercises/functions-as-parameters?action=resume_content_item


#2

Hello @marwanbenznana

In order to help you to understand the exercise or solve your doubt, we ask you to provide a question and some code of what you have tried following the instructions of the JS Course.

Cheers!


#3

Save a variable, time2p2

Well, the wording could be different. “Declare a variable…” comes to mind. That’s what we are really doing, after all.

let myVar = "some value";

Above we have both declared and defined the variable, myVar. A declared variable has a name, a defined variable has a name and a value.