nodejs/fn/string.js
/**
   * Returns a string which is the repetition of the first argument for the number passed in the second argument.
   *
   * @method   repeat
   * @global
   *
   * @example
   * ```javascript
   * //"HelloHelloHello"
   * bbn.fn.repeat('Hello', 3);
   * ```
   * @memberof bbn.fn
   * @returns  {String}
   */
Returns a string which is the repetition of the first argument for the number passed in the second argument.
@method   repeat
@global


Returns a string which is the repetition of the first argument for the number passed in the second argument . @method repeat @global
repeat(st, num) {
    let res = '';
    bbn.fn.iterate(num, () => {
      res += st;
    });
    return res;
  }
repeat ( st , num ) { let res = '' ; bbn . fn . iterate ( num , ( ) => { res += st ; } ) ; return res ; }
Returns a string which is the repetition of the first argument for the number passed in the second argument.
Returns a string which is the repetition of the first argument for the number passed in the second argument .