Write repeat(s, n) that returns s repeated n times.
repeat('ab', 3)
→ 'ababab'repeat('-', 5)
→ '-----'Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.