Description
Trims the start of a JavaScript Strings. Opposite of trimEnd.
Syntax
console.log(" abc ".trimStart()); // 'abc '
Nov 16, 20201 min read
Trims the start of a JavaScript Strings. Opposite of trimEnd.
console.log(" abc ".trimStart()); // 'abc '