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.
This comment is hidden because it contains spoiler information about the solution
Nice
I don't like this solution because you are mutating the function argument.
what a lovely one-liner!
I was looking at MDN but couldn't fully understand, now I see that the point is that this method adds these characters to those obtained with the slice method. which of course doesn't work if string length = targetLength. Sorry for the stupid question :)
Because there was nothing to "pad". Please look up the method on MDN.
This comment is hidden because it contains spoiler information about the solution
nice!
oh, yes
So nice, is the same to use cc.toString() instead of ("" + cc) ?
Or you use ("" + cc) for something special?
Dethklok!
Its death :D
lmao
They added it to 7 to make the rest of us feel better ðŸ«
cool. much more straighforward
Loading more items...