wiki/content/20201116100239-trimend.md

286 B

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

Description

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

Syntax

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