All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules.es7.string.pad-end.js Maven / Gradle / Ivy

There is a newer version: 3.3.1
Show newest version
'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
$export($export.P + $export.F * /Version\/10\.\d+(\.\d+)? Safari\//.test(userAgent), 'String', {
  padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
  }
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy