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.
You're using a global var there, it keeps its values when your function is called more than once. It leads to your code giving wrong results.
This comment is hidden because it contains spoiler information about the solution
Not a kata issue, read this: https://docs.codewars.com/training/troubleshooting/ and post your code so we can help you.
Hi guys! I code in JavaScript, simple test [25, 100], in my IDE I got "NO" just as expected, but the test output here return "YES" and test is faild. WTF? Can't figure this out by myself, need help. Am I miss somethig? Thanks!