01F JavaScript Course
JS Piscine
Week One
Quest 1 - Data
Quest 2 Loop
-
- Create a function named repeat that takes a string and a number as arguments, and returns the string repeated as many times as the number describes. It should function like String.repeat(), but of course you must make your own.
String.prototype.repeat = undefined