Passing values to function

Tell us what’s happening:
I tried different ways to get out of this problem but whatever I did, I still couldn’t pass the test. Could anyone help me out?

Your code so far



function functionWithArgs (a,b) {
 cosole.log(a+b); 
}
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/83.0.4103.61 Safari/537.36.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

You have 2 bugs:

  1. console has a typo
  2. you shouldn’t have a space between the name of the function and the ()s with the arguments