File size: 174 Bytes
1e92f2d
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
/* @flow */

export default (times: number, tabStop: number): string => {
  if (times === 0) {
    return '';
  }

  return new Array(times * tabStop).fill(' ').join('');
};