Created
February 20, 2014 21:36
-
-
Save ComputerGuyChris/9123724 to your computer and use it in GitHub Desktop.
tomdoc for js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Public: Duplicate some text an arbitrary number of times. | |
| // | |
| // text - The String to be duplicated. | |
| // count - The Integer number of times to duplicate the text. | |
| // | |
| // Examples | |
| // | |
| // multiplex('Tom', 4) | |
| // # => 'TomTomTomTom' | |
| // | |
| // Returns the duplicated String. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment