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.
一開始寫的時候不知道 "use strict" 是啥,就把它刪掉了
一開始把 return false 放在 else if 下面
導致只要一不符合條件的時候就會跳出function,而沒辦法 go through 整個 array。
This comment is hidden because it contains spoiler information about the solution
One thing, the comments under solutions can be publicly seen to everyone. Therefore even when posting here, if your comment contains working or partial solutions, or other solution-spoiling content, check the 'Mark as having spoiler content' box or click the 'Spoiler' flag. I've already done this for you this time.
Also, why are you posting solutions like this? Everyone's solution is already listed in the solutions tab and I don't see why you want to show off your solution under someone else's...
This comment is hidden because it contains spoiler information about the solution
Hi ulahsieh, you should know you cannot post code like this without a spoiler tag, otherwise anyone can see your solution. (I have just now added the tag)
This comment is hidden because it contains spoiler information about the solution