wiki/content/20201116100205-trimstart.md

17 lines
290 B
Markdown
Raw 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: 364e742e-58e8-4a1e-baa9-e9265a533301
title: trimStart
---
# Description
Trims the start of a [JavaScript Strings](20200922164551-strings).
Opposite of [trimEnd](20201116100239-trimend).
# Syntax
``` javascript
console.log(" abc ".trimStart()); // 'abc '
```