wiki/content/20201116100205-trimstart.md

273 B

id title
364e742e-58e8-4a1e-baa9-e9265a533301 trimStart

Description

Trims the start of a JavaScript Strings. Opposite of trimEnd.

Syntax

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