Basic JavaScript - Assignment with a Returned Value

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

// Setup
let processed = 0;

function processArg(num) {
  return (num + 3) / 5;

// Only change code below this line

processed = processArg(2);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge: Basic JavaScript - Assignment with a Returned Value

Link to the challenge:

Hi there and welcome to the forum!

The instructions for this challenge:

Call the processArg function with an argument of 7 and assign its return value to the variable processed .

You have called the function with a different argument.

Thank you for helping with my 4 hour issue.

1 Like

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