wiki/content/20201116100239-trimend.md

288 B

date id title
2020-11-16 5656f5af-f543-4439-b52f-e83122c0dce0 trimEnd

Description

Trims the end of a JavaScript Strings. Opposite of trimStart.

Syntax

console.log("  abc  ".trimEnd()); // "  abc'