es7.string.pad-right.js 286 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 'use strict'; var $export = require('./$.export') , $pad = require('./$.string-pad'); $export($export.P, 'String', { padRight: function padRight(maxLength /*, fillString = ' ' */){ return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); } });