Arguments Optional - Mistake in note

Arguments Optional - Mistake in note
0

#1

In the Basic Code Solution section, near the bottom, there is a mistake.

// Check the number again, must be outside the function to about returning an object instead of undefined."

The problem is with the word “about”, it just does not seem to belong there, and, renders the sentence
unintelligible.

A better choice might be:
“Check the number outside of the function to return an object instead of undefined.”

That is my guess as to what it might mean though.


#2

I think this is more accurate:

Return the function that expects a second argument if the first argument is a number.

Then remove the next comment since it’ll be redundant.

You’re free to edit the wiki if you think improvements can be made.