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.
I didn't think this alone would be enough, but ok :D Glad you solved it!
B1ts, Your advice regarding variables helped me solve the problem. Thank you.
You should try to restructure your code to avoid using global variables. It's very confusing to understand how the class works right now.
Keep in mind that you can use the constructor to add additional variables without resorting to globals.
"Random Tests
Given: rYan,sYndney,luke,eriC,melisa
expected 3 to equal 5
Completed in 2ms
Given: joe,beN,amanda,JeSicA,syndNEy
expected 3 to equal 4
Given: eRic,jesica,cAleB,amaNdA,caleB
expected 0 to equal 1
Completed in 1ms"
Hello. I can't pass 5 random tests. I don't understand what my mistake is. I pass all other tests. Help me to understand.
check what type (Number or String) you return
This comment is hidden because it contains spoiler information about the solution