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 feel like I'm taking crazy pills reading this description. At least have a few more tests to help connect the dots if you can't write good instructions.
hahahahhahahaahaah
haha I knew there had to be a faster way while writing out the switch statement and you found it!
I love it
firstMin gets the lowest number in the array. secondMin gets the second lowest by calling Math.min over the filter method which returns a new array w/o firstMin. Funny way to do it. Best way is to sort the array lowest to highest with the sort method and then simply add the first two indexes in the array.