Urara-Blog/node_modules/.pnpm-store/v3/files/27/1253e5adc2e22e2c224cbb5ee8f28f4c68f9fe93fd2a1f92cc9a91e38296f9c64083a94cc751f0b8b3b4e5792f919501f90fbc0c609fc159a436c3fc0eda64
2022-08-14 01:14:53 +08:00

14 lines
334 B
Text

'use strict';
var getPolyfill = require('./polyfill');
var define = require('define-properties');
module.exports = function shimPadEnd() {
var polyfill = getPolyfill();
define(String.prototype, { padEnd: polyfill }, {
padEnd: function testPadEnd() {
return String.prototype.padEnd !== polyfill;
}
});
return polyfill;
};