Closed Eswcvlad closed 4 months ago
rept(text, count) ⇒ string Returns string - Text generated from the repeated text. if count is zero, returns an empty string. If count is less than 0, returns null.
rept(text, count) ⇒ string
Returns string - Text generated from the repeated text. if count is zero, returns an empty string. If count is less than 0, returns null.
Function no longer returns null, as with a negative number of elements it now throws an error.
Function no longer returns null, as with a negative number of elements it now throws an error.