👁 View: shim.js
Path: /home/thiqat5/mv2.thiqatech.com/node_modules/string.prototype.trimstart/shim.js
Size: 337 B · Modified: 2022-09-25 05:25:55 · Perm: 0755 · Writable
'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;
};