wiki/content/20201116100239-trimend.md

271 B

id title
5656f5af-f543-4439-b52f-e83122c0dce0 trimEnd

Description

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

Syntax

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