Why it said that its not defined?

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.

3 Likes

it’s functionWithArgs() not funtionWithArgs()

1 Like

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 :grimacing:

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.
image

With a spelling error, the second one doesn’t get highlighted.
image

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.