8 kyu
ES6 string addition
9,739 of 9,741Peter Rhodes
Description:
It is easy to join two strings together like this string1 + string2
.
Another way to get the desired result would be with string1.concat(string2)
ES6 has introduced another way of joining strings. 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.
+
, .concat()
& .join()
will not be allowed in this exercise. I have also removed some other methods that can be used to cheat!
If one of the arguments is a number your code must coerce it into being a string.
Strings
Fundamentals
Similar Kata:
Stats:
Created | Nov 18, 2016 |
Published | Nov 21, 2016 |
Warriors Trained | 11951 |
Total Skips | 172 |
Total Code Submissions | 20281 |
Total Times Completed | 9741 |
JavaScript Completions | 9739 |
CoffeeScript Completions | 18 |
Total Stars | 94 |
% of votes with a positive feedback rating | 93% of 1696 |
Total "Very Satisfied" Votes | 1498 |
Total "Somewhat Satisfied" Votes | 169 |
Total "Not Satisfied" Votes | 29 |
Total Rank Assessments | 10 |
Average Assessed Rank | 7 kyu |
Highest Assessed Rank | 7 kyu |
Lowest Assessed Rank | 8 kyu |