Home

Star Triangle

Use loops to construct and return a string containing the following output:

*
**
***
****
*****


Hint: use \n to create newline characters.

😳 TIME LEFT: seconds 😳

function starTriangle() {

}

TOTAL TIME: seconds