Bugged on the return variable?

my solution was this it says i passed it but i cant go to next level unless there was another way the dev solved this exercise? please share!
this was my solution:
function timesFive5(num) {

return num * 25;

}

console.log(timesFive5(5));

function timesFive2(num) {

return num * 10;

}

console.log(timesFive2(5));

function timesFive0(num) {

return num * 0;

}

console.log(timesFive0(5));

function timesFive() {

console.log(timesFive([timesFive5(num)], [timesFive2(num)], [timesFive0(num)]));

}
This was now the feedback I got!

please if you have the solution @devs please share or fix the bug! am stuck!

try using only one function versus the 5 you have. I think you trying to solve the Return a Value from a Function with Return.

2 Likes

yes the main objective was to use the return to multiply by changing the timesFive function but i have tried everything and am still stucked is there anyway i can view the solution cause the vid of this topic is not helpful.
this was the question:
image

all you have to do is fill in function with a return num multiplied by five.

2 Likes

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