wiki/content/20201116100205-trimstart.md

288 B

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

Description

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

Syntax

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