Basic JavaScript:< Passing Values to Functions with Arguments>

Tell us what’s happening:

i dont know what am doing wrong. please can you assist
Your code so far

function functionWithArgs(a,b) {

function functionWithArgs(a,b){

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.116 Safari/537.36.

Challenge: Passing Values to Functions with Arguments

Link to the challenge:

you can’t declare twice a function, remove one of the two

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.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

Thank you it worked... alright i will be doing that (preformatted text) .