Tell us what’s happening:
Im Not getting the ans for this
Your code so far
function functionWithArgs(one, two){
console.log(1+2);
}
functionWithArgs(7, 8);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Passing Values to Functions with Arguments
Teller
November 6, 2023, 8:03am
2
Welcome to the forum
You have nearly entered the required code.
Please check the names for the parameters
Happy coding
Tell us what’s happening:
Describe your issue in detail here.
Your code so far
function functionWithArgs(one, two){
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/119.0.0.0 Safari/537.36
Challenge Information:
Basic JavaScript - Passing Values to Functions with Arguments
Did you have a question about this challenge please? Can you explain what you’re having difficulty with?
Teller
December 8, 2023, 1:13am
5
I think this was solve earlier.
Not sure why a version of the post is reappearing.
Welcome to the forum
You have nearly entered the required code.
Please check the names for the parameters
Happy coding
if you are passing one, two as a argument then perform the operations on them not on the 1, 2
your corret version should be
Mod Edit: SOLUTION REMOVED
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.