So I’m really stuck on this, I’ve checked the forum and online. For some reason all I get online is to use call() to call the function but as I haven’t been introduced to it I’m sure there’s an easier way.
I don’t get how to output what I need to the dev console or how to call the function. Or if I’m putting the right things for the perameters.
function functionWithArgs(one, two){
console.log(functionWithArgs);
functionWithArgs(1 + 1);
}
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Challenge: Passing Values to Functions with Arguments