mirror of
https://github.com/actions/setup-python.git
synced 2025-06-13 15:57:13 +02:00
Initial pass
This commit is contained in:
13
node_modules/left-pad/perf/es6Repeat.js
generated
vendored
Normal file
13
node_modules/left-pad/perf/es6Repeat.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
'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 + '';
|
||||
|
||||
return ch.repeat(len) + str;
|
||||
};
|
Reference in New Issue
Block a user