hgstwx
#1
Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
// Setup
var processed = 0;
function processArg(num) {
return (num + 3) / 5;
}
processed = processArg (7);
// Only change code below this line
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Challenge: Assignment with a Returned Value
Link to the challenge:
Make sure to check your spelling/spacing. Are there any misspelled words or are then any extra spaces in your variable or function names?
1 Like
processArg (7);
is not how a function call should look. The invoking parentheses should be attached to the function identifier, fn(42)
not fn (42)
.
Even if it works with the space, it is not the correct formating.
1 Like
system
closed
#4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.