Last active
September 3, 2021 09:09
-
-
Save AshishKapoor/b3ca6c9cb360e61db3f062afb50e079c to your computer and use it in GitHub Desktop.
Merge words
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Create a function that will allow you to pass in a string, with the ability to add to this with more function calls. | |
When it is finally passed an empty argument returns the full concatenated string of all arguments passed previously. | |
// For example: mergeWords("Hello")("World!")("how")("are")("you?")(); | |
// This will return the following: "Hello World! how are you?" | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment