Repeater

Challenge 📝

Resources 📚

Given is a String string and a number n. Return a string with the section from 0 to n in a row. In each run n is to be decremented.

#JavaScript Strings

Medium

unsolved

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