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.
hardcoded morse 💀
gnarly
Keeping the morse code alive :)
Мусор типа makeNegative(42); поудаляй.
Автотесты все сами запускают и ни один раз.
Стараюсь
Уже лучше. А еще проще?
Попробуй использовать не просто циклы, а Array-методы аля функциональное программирование.
It seems you're mixing up the log statements. For this test the expected value is
0
.js. I think you have error in this test. Expected 8
Expected: '8', instead got: '1'
Log
[ 1, 1, 1, 1, 1, 1, 0 ]
0
But Expected 0