Tell us what’s happening:
Describe your issue in detail here.
I do not understand why this isn’t functioning. I watched the help video assigned with this task as well as Youtube videos. Any advice would be appreciated.
type or paste code here
function functionWithArgs(number1, number2){
console.log(number1 + number2)
}
functionWithArgs(1, 2)``
**Your code so far**
function functionWithArgs(number1, number2){
console.log(number1 + number2)
}
functionWithArgs(1, 2)
**Your browser information:**
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Basic JavaScript - Passing Values to Functions with Arguments
I don’t understand either. If you are using the exact code that is shown under **Your code so far** above then it should pass. Are you sure there isn’t anything else in the editor?
Nothing. I have ran this about a dozen times. Sometimes using a and b, instead of number1 and number 2. I don’t have a clue what to do and can’t advance any further.
It would be interesting to know if you ever figure out what was keeping the other browser from working properly. This is very simple JS so I’m having trouble guessing what it could be. If I had to guess I’m thinking it might be some sort of extension. Possibly one to help protect against malicious JS.