UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

10 lines (9 loc) 337 B
'use strict'; // https://github.com/tc39/proposal-string-pad-start-end var $export = require('./_export') , $pad = require('./_string-pad'); $export($export.P, 'String', { padEnd: function padEnd(maxLength /*, fillString = ' ' */){ return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); } });