wiki/content/20201116100239-trimend.md

17 lines
288 B
Markdown
Raw Permalink Normal View History

2024-05-06 20:40:05 +00:00
---
2024-10-30 17:34:11 +00:00
date: 2020-11-16
2024-05-06 20:40:05 +00:00
id: 5656f5af-f543-4439-b52f-e83122c0dce0
title: trimEnd
---
# Description
Trims the end of a [JavaScript Strings](20200922164551-strings).
Opposite of [trimStart](20201116100205-trimstart).
# Syntax
``` javascript
console.log(" abc ".trimEnd()); // " abc'
```