👁 View: shim.js
Path: /home/thiqat5/sb.thiqatech.com/node_modules/string.prototype.trimleft/shim.js
Size: 333 B · Modified: 1985-10-26 12:15:00 · Perm: 0644 · Writable
'use strict';

var define = require('define-properties');
var getPolyfill = require('./polyfill');

module.exports = function shimTrimLeft() {
	var polyfill = getPolyfill();
	define(
		String.prototype,
		{ trimLeft: polyfill },
		{ trimLeft: function () { return String.prototype.trimLeft !== polyfill; } }
	);
	return polyfill;
};