flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
14
VISUALIZACION/node_modules/core-js/modules/es7.string.pad-start.js
generated
vendored
Executable file
14
VISUALIZACION/node_modules/core-js/modules/es7.string.pad-start.js
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
// https://github.com/tc39/proposal-string-pad-start-end
|
||||
var $export = require('./_export');
|
||||
var $pad = require('./_string-pad');
|
||||
var userAgent = require('./_user-agent');
|
||||
|
||||
// https://github.com/zloirock/core-js/issues/280
|
||||
var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);
|
||||
|
||||
$export($export.P + $export.F * WEBKIT_BUG, 'String', {
|
||||
padStart: function padStart(maxLength /* , fillString = ' ' */) {
|
||||
return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue