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.
一開始把 return false 放在 else if 下面
導致只要一不符合條件的時候就會跳出function,而沒辦法 go through 整個 array。
I'm new to codewars too and just scrolled through looking for this issue. I'm having trouble figuring out why this is and how to use prototype instead. Could anybody point me in the right direction? :)