kenemo
October 19, 2022, 12:03pm
1
Tell us what’s happening:
Describe your issue in detail here.
Your code so far
function timesFive(num) {
return num * 5;
}
console.log(timesFive(5));
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Return a Value from a Function with Return
Link to the challenge:
Hello, it seems you forgot to fill out field to describe the issue you are having. Is there a question you have about the challenge?
kenemo
October 19, 2022, 12:22pm
3
Thanks @Cody_Biggs I cant manage to complete this challenge even after following the steps correctly
I copied your code and did the challenge myself using your code, and it passed. I did get rid of the extra space between the return and your closing bracket. Try that and see if it passes, but your code does work
1 Like
kenemo
October 19, 2022, 1:54pm
5
It worked brother, thanks a lot, I got rid of the spaces.
1 Like
Glad it worked. Nice to see you are using the console to see what the output is. If only everyone did that it would make life a lot easier for them
system
Closed
April 20, 2023, 2:04am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.