Line 19 Clarification

Added mention of built in JS Function (.repeat), this is not the intended solution but gives the student another option.
This commit is contained in:
Joshua Farrow 2022-09-05 13:16:09 +01:00 committed by GitHub
parent 0747078d97
commit 99dd286a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ You will notice in this exercise that there are multiple tests (see in file `rep
- Take note of the above function call- how exactly is it being called?
- You're going to want to use a loop for this one.
- You can use a loop or built-in JavaScript Function for this one.
- Create a variable to hold the string you're going to return, create a loop that repeats the given number of times and add the given string to the result on each loop.