Urara-Blog/node_modules/.pnpm-store/v3/files/b0/524a1d075a4d27027b606bf5e2fcfb0508912686659557a5c9f259fe342a6ef2f50322098024be1517f1b3c271f98a0be7378e2dccd1c74ed6d829c20327c7
2022-08-14 01:14:53 +08:00

14 lines
337 B
Text

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