8 kyu
ES6 string addition
9,738 of 9,740Peter Rhodes
Loading description...
Strings
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
hi y'all i hope you're having a good day
CoffeeScript translation
Approved!
This comment has been hidden.
Theres an error on the task description because str1 + str2 returns a string without space between them
And where does it say it adds a space?
Looks like I did saw all this "...there must be a space between the two strings"
That's part of the task:
It's not directly related to how + or concat work. Also, you can't use them here.
This comment has been hidden.
that's just a geneal statement, not specific to the task ~~
Your task is to find out what this is and write a function that will add two strings together, there must be a space between the two strings.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
haha so short and concise Emily!
This comment has been hidden.
Thank you! This is amazing.
^^
This comment has been hidden.
Thanks! I am going to give this a go :)
Haha so many invalid solutions. Should I ban lodash?
I think you should...
Good idea, but there is a thing called positive lookahead ;)