✏️ Edit: shim.js
Path:
/home/thiqat5/mv2.thiqatech.com/node_modules/string.prototype.trimend/shim.js
Size: 329 B · Modified: 2022-09-25 05:25:55 · Perm: 0755 · Writable
← Back to directory
👁 View
⬇ Download
'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; };
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF