6 lines
130 B
JavaScript
6 lines
130 B
JavaScript
var pad = require('./pad');
|
|
|
|
module.exports = function rpad(str, length, padStr) {
|
|
return pad(str, length, padStr, 'right');
|
|
};
|