diff options
Diffstat (limited to 'node_modules/core-js/modules/es7.string.pad-end.js')
-rw-r--r-- | node_modules/core-js/modules/es7.string.pad-end.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/node_modules/core-js/modules/es7.string.pad-end.js b/node_modules/core-js/modules/es7.string.pad-end.js index b8ed042f9..df55ce70b 100644 --- a/node_modules/core-js/modules/es7.string.pad-end.js +++ b/node_modules/core-js/modules/es7.string.pad-end.js @@ -2,8 +2,10 @@ // https://github.com/tc39/proposal-string-pad-start-end var $export = require('./_export'); var $pad = require('./_string-pad'); +var userAgent = require('./_user-agent'); -$export($export.P, 'String', { +// 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); } |