I have a question, in the lesson
Is it possible to finish the lesson without defining a variable?
I’ve tried only by calling the function and then using console.log but it wouldn’t let me complete it.
The code I completed the lesson with
function timesFive(num) {
return num * 5;
}
const answer = timesFive(7);
the code I meant in my question
function timesFive(num) {
return num * 5;
}
timesFive(7);
console.log(num);
it says num isn’t defined. is it because Argument =/= definement?
One can only define through a variable?
Ty