mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-22 19:46:23 +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'