6 lines
130 B
JavaScript
6 lines
130 B
JavaScript
![]() |
var pad = require('./pad');
|
||
|
|
||
|
module.exports = function lrpad(str, length, padStr) {
|
||
|
return pad(str, length, padStr, 'both');
|
||
|
};
|