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.
If an initial value is provided to the reduce method, the first argument is the initial value and the second argument is the value of the first (!) element in the array.
If an initial value is not provided, the first argument is the value of the first element in the array and the second argument is the value of the second (!) element in the array.
Will be broken with string including numbers, like ["Flight93", "Flight 123"], or with non-ASCII characters. That's why localeCompare() should be required.