Help on the Basic Javascript: Use the parseInt Function problem

Hi I struggled with this problem for a while and recently asked a friend who’s more experienced for help.
I was told that it cannot be done because the rule states that it can only return one datatype. therefore I can’t received an input for the 3 elements. It only returns for the last element in the function . I tried writing the function to convert to a string multiple times and it also does not work.

Is there a way around this or is my friend correct??

What rule?

What 3 elements?

What code have you tried to write 3 multiple times? You did not post any code. You must copy and paste any code you want us to view in a reply. I’ve edited your post for readability. To enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.