Skip to content

Instantly share code, notes, and snippets.

@mmloveaa
Last active April 5, 2016 01:02
Show Gist options
  • Save mmloveaa/d80c499126097497d770572f1626642c to your computer and use it in GitHub Desktop.
Save mmloveaa/d80c499126097497d770572f1626642c to your computer and use it in GitHub Desktop.
4-4 Freecodecamp Q7 Confirm Ending
Repeat a string repeat a string
Repeat a given string (first argument) num times (second argument). Return an empty string if num is a negative number.
Remember to use Read-Search-Ask if you get stuck. Write your own code.
Here are some helpful links:
Global String Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment