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
This comment is hidden because it contains spoiler information about the solution
it asks just what it asks. it does not ask to foresee absence of the "needle"
( ͡° ͜ʖ ͡°)
Not a question. See https://docs.codewars.com/training/troubleshooting#post-discourse.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
he may or may not be, but there are others here who came to learn (like me lol), and may think to use it
Yeah your's looks pretty good. Thanks for sharing.
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
Why