Basic JS: Passing Values to Functions with Arguments

Tell us what’s happening:
Describe your issue in detail here.
I’ve done the test but it isn’t running.

  **Your code so far**

function functionWithArgs(1, 2) {
console.log(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/91.0.4472.101 Safari/537.36 Edg/91.0.864.48

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

Your arguments should not be numbers
please change it to any letter or word
they are the placeholder text and even in the function you should return the arguments not the number like a + b if your arguments are (a, b)
So that when you call the function you get the addition of any two numbers

Hope this was helpful!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.