wallet-core/node_modules/core-js/modules/es7.string.pad-left.js
2017-05-03 15:35:00 +02:00

9 lines
283 B
JavaScript

'use strict';
var $export = require('./$.export')
, $pad = require('./$.string-pad');
$export($export.P, 'String', {
padLeft: function padLeft(maxLength /*, fillString = ' ' */){
return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
}
});