Sha256: 26bc7427832cd4d41a828599a1f4f15d1678add5a41d298b1fb3a6971ac0651c
Contents?: true
Size: 329 Bytes
Versions: 51
Compression:
Stored size: 329 Bytes
Contents
'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimTrimEnd() { var polyfill = getPolyfill(); define( String.prototype, { trimEnd: polyfill }, { trimEnd: function () { return String.prototype.trimEnd !== polyfill; } } ); return polyfill; };
Version data entries
51 entries across 50 versions & 6 rubygems