Passing Values to Functions with Argumentsf

Tell us what’s happening:
I have written proper code but the wrong answers are coming?

Your code so far



function functionWithArgs(b,c){
  console.log(b + c);
} 
functionWithArgs(1,2);
functionWithArgs(7,9);

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/passing-values-to-functions-with-arguments

Likely a bug. Some people have complained about this challenge as well.

1 Like

so is there any solutions??

The solution is to create an issue over at github so they can fix the tests behind the scenes for this challenge. Just click New Issue and fill out all the necessary information.

1 Like

thanks @RandellDawson

@Saturn1
You can post solutions that invite discussion (like asking how the solution works, or asking about certain parts of the solution). But please don’t just post your solution for the sake of sharing it.

We have set your post to unlisted. Thanks for your understanding.