string-repeat-x
Constructs and returns a new string which contains the specified number of copies of the string.
module.exports
⇒ *
⏏
Kind: Exported member
Returns: *
- The target.
Param | Type | Description |
---|---|---|
string | string |
The string. |
count | number |
string |
Example
; ; // RangeError; // ''; // 'abc'; // 'abcabc'; // 'abcabcabc' (count will be converted to integer); // RangeError