Circular Repeat

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.

#JavaScript Loops

Medium

unsolved

function circularRepeat(s, n) {
}
Test Cases
Console Logs
JS Errors
Run Code!
flag