Learning JavaScript? Download my free JavaScript Handbook 🔥

Return a new string with removed white space from the start of the original string

'Testing'.trimStart() //'Testing'
' Testing'.trimStart() //'Testing'
' Testing '.trimStart() //'Testing '
'Testing '.trimStart() //'Testing'

Edit this page


Here's my latest YouTube video. I talk about work/life balance as a developer: