Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
Seems you're not going to get this through.
The problem you've in your code is that arguments are never being used in the body of the function, and you are right that it works BUT it works because you've declared
arrayA
andarrayB
to be global, it just don't care about the arguments(If you wanna verify this: pass "apple", "oranges" to the function, it would still work -- you get the idea I guess.)You should replace
arrayA
witha
andarrayB
withb
.@Justletmein, can you please tell us where do you think the arguments of the function
a, b
are being used?Any salt you're tasting is surely your own tears.
Fix your code instead of blaming everything else 🤣
If you're unsure what's wrong then as a tip: don't state as a fact that it's right.
I did however still point out the problem.
your code completely ignores input, it does not work.
when you test something locally you need to test the same thing as the tests test, otherwise the comparison is pointless.