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 am jealous
I definitely prefer readability, lol. I remember when I was starting out and hooked on code golf.
Helpful. Thank you!
This comment is hidden because it contains spoiler information about the solution
wow nice brain
same solution but i use match() instead.
wao, i barely servived the critisism, but thanks for correcting my regExp mistake.
Yes, the use of assignment here is a little bit confusing.
Although it is worth noting, that it is not enough to just change
+=
to+
, because the order of operations will be different. There should be parentheses to enclose the second part. That suggests me to believe, that the+=
operator was used here to omit using parens.There is also no need to assign the new value to the
name
variable with+=
. Return it without assignment,return name + ...
.This comment is hidden because it contains spoiler information about the solution
mine is more clear and a bit close to you.
That's why I'd prefer something like
'a'.charCodeAt() - 1
instead of a cryptic magic number97
.Funny one!!
oh,It's great!
clean!
Loading more items...