/**
 * Short version of mozilla polyfill:
 * <i> See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/repeat
 */ const stringRepeat = ( str , count ) => { if ( count < 1 ) return '' ; let result = '' ; let pattern = str ; while ( count > 1 ) { if ( count & 1 ) result += pattern ; count >>>= 1 , pattern += pattern ; } return result + pattern ; } ; export default stringRepeat ;