This commit is contained in:
Stephen Franceschelli 2019-07-30 13:41:05 -04:00
parent 596a6da241
commit c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions

17
node_modules/left-pad/perf/O(n).js generated vendored Normal file
View file

@ -0,0 +1,17 @@
'use strict';
module.exports = function (str, len, ch) {
str = str + '';
len = len - str.length;
if (len <= 0) return str;
if (!ch && ch !== 0) ch = ' ';
ch = ch + '';
while (len--) {
str = ch + str;
}
return str;
}