How is this:

repeat("abc", 3) -> ["abc", "abc", "abc"]

repeated("abc", 3) -> "abcabcabc"

Reply via email to