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.
no it just for first aplphabatic
Should work now.
It is not necessary to mutate global data. You can do something like this:
morseCode.trim().replace(/ /g," _ " ).split(" ").map(function(m){return MORSE_CODE[m] || ' '}).join("")
This comment is hidden because it contains spoiler information about the solution
What is it?????!!! (0)_(0)
Why you mutated the
MORSE_CODE
?It creates (!) two functions in every iteration and it loose performance.
It will be fail if we will pass any content inside brackets. But in these tests it does not happen)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yes, I am not able to do the final submit too.
There is not get 'final submit' after sumbit with all tests passed in JS.
This comment is hidden because it contains spoiler information about the solution