Freecodecamp: Assignment with a Returned Value

Created on 29 Jan 2016  路  7Comments  路  Source: freeCodeCamp/freeCodeCamp

Challenge Assignment with a Returned Value has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

// Example
var changed = 0;

function change(num) {
  return (num + 5) / 3;
}

changed = change(10);

// Setup
var processed = 0;

function process(num) {
  return (num + 3) / 5;
}

// Only change code below this line
processed = process (7);








All 7 comments

Hey @ayudyapala, if you need help, please go to our main room or our help room. Although, your code seems correct :smile:
But GitHub is for issues only :smile:

_removed solution by mod_

Can anyone help me understand the challenge for "Assignment with a Returned Value".

@srishtikashyap18
Please use the HelpJavaScript chat room for getting challenge related help.

Happy Coding.

// Only change code below this line
var processed = 2;

function processArg(num) {

return (num * 1 ) / 3.5;
}
processed = processArg(7);

Nothing much but just do this to go next.

// Only change code below this line
processed = processArg(7);

// Only change code below this line
processed = processArg(7);

Was this page helpful?
0 / 5 - 0 ratings