You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Implement repeatStr to repeat a string a given number of times
- Handles count = 0, count = 1, count > 1
- Throws error for negative counts
- Add Jest tests covering:
- multiple repetitions
- single repetition
- zero repetitions
- negative counts
0 commit comments