From 99dd286a820e07630ca6f7da913a64cdd46e5910 Mon Sep 17 00:00:00 2001 From: Joshua Farrow <112586200+Josh-Farrow@users.noreply.github.com> Date: Mon, 5 Sep 2022 13:16:09 +0100 Subject: [PATCH] Line 19 Clarification Added mention of built in JS Function (.repeat), this is not the intended solution but gives the student another option. --- 02_repeatString/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_repeatString/README.md b/02_repeatString/README.md index 9c8123e..30827ad 100644 --- a/02_repeatString/README.md +++ b/02_repeatString/README.md @@ -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.