The trimEnd method for IE
It removes trailing spaces from a string.
import trimEnd from '@ungap/trim-end';
trimEnd.call(' test '); // " test"
- CDN via https://unpkg.com/@ungap/trim-end
- ESM via
import trimStart from '@ungap/trim-end'
- CJS via
const trimStart = require('@ungap/trim-end')
Compatible with every engine.