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.
And it should not, according to the condition of the task
clever use of Object.is. awesome. didn't knew about it.
bro, thanks for Object.is, didn't know about it
This is a wrong assumption. [ 2, 1, 1, 1, 1, 1,1,1 ] wont work
[^aeiuo,^AEIOU] actually means any character that's in the lsit following the first ^, including ',' and '^'! Thus, your function will return 4 for the string "A,^po!" instead of 2. You surely wanted to write [^aeiuoAEIOU]
:)