Warmup - StringSplosion

Create a function that, given any non-empty string, returns a string where each character is concocted with each of the preceding characters.

Example:

stringSplosion("ab")
//Output: "aab"

stringSplosion("abc")
//Output: "aababc"

stringSplosion("Code")
//Output: "CCoCodCode"

Hint:
You'll first want to identify the pattern before writing the code.