You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

581 B

Repeat

Instructions

Create a repeat function that takes a string and a number as parameters and return the repeated string by the given number Like the method https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat Of course you may not use the method directly

Notions

Code provided

String.prototype.repeat = undefined