This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
keksAccountGUI/node_modulesOLD/string.prototype.padstart/shim.js

11 lines
324 B
JavaScript

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