Different parameters for the function in the code test and for the function who's actually used for the test (see console)

The test works but in the console it says that the test will have 4 as parameter in the function but in the code above the function has 7 as parameter and 7 is less than 5

the function is tested with multiple values, if you scroll down on the left side you can see all of them, and it needs to work with all of them.

orderMyLogic(7) gives the correct result, orderMyLogic(4) no


For the next time, if you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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