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 did this exercise but i think my knowledge by JS poor and my code is too big every time when i look another answers... i must to learn regular expressions and arrays methods for up my skills...
there is unnecessary code in this solution but let it be.
just happy I did this exercise.
ось така помилка вискакує Expected: 'null', instead got: '[NaN, NaN, NaN]' ... я вже й перевіряю всі елементи на NaN і порівнюю з довжиною головного масиву, присвоюючи null для return. де я помиляюсь?