mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 13:06:22 +00:00
271 B
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'