Why it said that its not defined?
function functionWithArgs(one, two) {
console.log(one + two);
};
funtionWithArgs(3, 7);
Why it said that its not defined?
function functionWithArgs(one, two) {
console.log(one + two);
};
funtionWithArgs(3, 7);
You need to include a link to the challenge so we know which one you are doing. There are too many challenges to figure it our on our own.
Also, just from looking at your code:
funtionWithArgs(3, 7);
You didn’t quite spell the function name correctly. You forgot a letter.
it’s functionWithArgs() not funtionWithArgs()
Done, the problem was the “h” in the wrong place.
Tbw, the link was this one:
Thanks!
Yup, I will have to learn JS and ENGLISH
One helpful feature of the editor is that it will highlight all other instances of a word when you highlight just one.
With the same spelling, both instances of testFun
get highlighted.
With a spelling error, the second one doesn’t get highlighted.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.