Repeat a String - JavaScript Solution & Walkthrough
07/16 Repeat a String 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.
...
benjaminsemah.hashnode.dev2 min read