var processed = 0;
function processArg(num) {
return (num + 3) / 5;
}
// Only change code below this line
var processed = 2;
function processedArg(num){
return (num + 5);
processed = processedArg(7);
}
what’s happening:**
Your code so far
// Setup
var processed = 0;
function processArg(num) {
return (num + 3) / 5;
}
// Only change code below this line
var processed = 2;
function processedArg(num){
return (num + 5);
processed = processedArg(7);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.80 Safari/537.36 Edg/86.0.622.48.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
You don’t need to create a new function. Just assign a variable to the already-created function. Your new function contains something resembling the answer.