paooof
July 25, 2021, 5:29pm
1
Tell us what’s happening:
my challenge is done but i need undertand … why ? i mean i dont write the number 7 and 9 ,
Your code so far
function functionWithArgs(a,b) {
console.log(a+b);
}
functionWithArgs(1,2)
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36
Challenge: Passing Values to Functions with Arguments
Link to the challenge:
Look at the lower left of your screenshot, the tests are making these function calls:
functionWithArgs(1,2)
functionWithArgs(7,9)
Look carefully at the condition of the problem
functionWithArgs(1,2)
functionWithArgs(7,9)
paooof
July 25, 2021, 5:50pm
4
a , b is for all numbers?(1,2) (7,9) is like automatic ?
ilenia
July 25, 2021, 5:52pm
5
every time you call the function the values in the parenthesis are assigned to a
and b
, the function in this way can give different outputs for different inputs
1 Like
paooof
July 25, 2021, 5:55pm
6
oki , now is more clear i have html in my mind lol but thanks guys
system
Closed
January 24, 2022, 5:56am
7
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.