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.
yes, but why
does not support the flat() method
Done. The tests could be improved tho.
I've enabled Node 14, copy your code, click reset to refresh the tests and try again. Make sure Node 14 is selected.
Because it depends on Node's version.
This comment is hidden because it contains spoiler information about the solution
Please read this: https://docs.codewars.com/training/troubleshooting
Your tests are not working correctly because anywhere my code works correctly and produces correct results
That's not what you should count:
Sort Strings by Most Contiguous Vowels
They have exactly the same amount of contiguous vowels: 3.
thank you dude I desided it!
ok
Exactly that, your code is trying to read
length
property ofnull
. Search where in your code you're doing that.Sorry, but I wanted to ask, what does this conclusion mean?
TypeError: Cannot read property 'length' of null
at as
at sortStringsByVowels
at /home/codewarrior/index.js:33:24
at begin
at it
at /home/codewarrior/index.js:26:3
at /runner/frameworks/javascript/cw-2.js:152:11
at Promise._execute
at Promise._resolveFromExecutor
at new Promise
at describe
at /home/codewarrior/index.js:24:5
at /home/codewarrior/index.js:41:5
at Object.handleError
has it promisses?