6 kyu
"Stringing"+"Me"+"Along"
6,145 of 6,906shinchy
Description:
Implement a function that receives a string, and lets you extend it with repeated calls. When no argument is passed you should return a string consisting of space-separated words you've received earlier.
Note: There will always be at least 1 string; all inputs will be non-empty.
For example:
createMessage("Hello")("World!")("how")("are")("you?")() === "Hello World! how are you?"
Tip (helpful, but not necessary): Try using classes!
Good luck and happy coding!
Functional Programming
Fundamentals
Similar Kata:
Stats:
Created | Sep 12, 2015 |
Published | Sep 12, 2015 |
Warriors Trained | 10752 |
Total Skips | 471 |
Total Code Submissions | 33866 |
Total Times Completed | 6906 |
JavaScript Completions | 6145 |
Python Completions | 777 |
Dart Completions | 16 |
Total Stars | 143 |
% of votes with a positive feedback rating | 92% of 566 |
Total "Very Satisfied" Votes | 488 |
Total "Somewhat Satisfied" Votes | 65 |
Total "Not Satisfied" Votes | 13 |