trimEnd
Description
Trims the end of a [JavaScript Strings](JavaScript Strings). Opposite of trimStart.
Syntax
console.log(” abc “.trimEnd()); // ” abc’
Trims the end of a [JavaScript Strings](JavaScript Strings). Opposite of trimStart.
console.log(” abc “.trimEnd()); // ” abc’