https://github.com/kossi-stack/butrry
https://github.com/kossi-stack/butrry
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/kossi-stack/butrry
- Owner: Kossi-stack
- Created: 2021-07-31T05:48:08.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-31T07:22:39.000Z (almost 5 years ago)
- Last Synced: 2025-01-24T11:44:06.755Z (over 1 year ago)
- Language: JavaScript
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Repeat a String
Repeat a given string `str` (first argument) for `num` times (second argument). Return an empty string if `num` is not a positive number. For the purpose of this challenge, do *not* use the built-in `.repeat()` method.
Submit a pull request to the main branch with your solution. Do not modify the tests. Once you have created a PR with passing tests, then you have successfully completed the exercise.