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.
check array variable is actually array :) i solved like this.
Read the error message, you're trying to use sort in something that's not an array.
TypeError: Cannot read property 'sort' of null
at sumArray
at Object.handleError
at ContextifyScript.Script.runInThisContext
at Object.runInThisContext
I tried to attempt my solution but it shows me this.
But in samples test my code works well.