Challenge 📝
Given a string s and a number n, return a new string with the characters of s repeated n times consecutively in a circular manner. If the length of the new string is greater than 100, truncate it to a length of 100.
s
n
n times consecutively in a circular manner. If the length of the new string is greater than 100, truncate it to a length of 100.
#JavaScript Loops
Medium
unsolved