UNPKG

core-js

Version:
8 lines 232 B
'use strict'; var $def = require('./$.def') , $pad = require('./$.string-pad'); $def($def.P, 'String', { padLeft: function padLeft(maxLength /*, fillString = ' ' */){ return $pad(this, maxLength, arguments[1], true); } });