wiki/content/20201116100205-trimstart.md

290 B

date id title
2020-11-16 364e742e-58e8-4a1e-baa9-e9265a533301 trimStart

Description

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

Syntax

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