String.prototype.trimStartbeginner' hello '.trimStart() // β 'hello '
' text'.trimStart() // β 'text'
'hi'.trimStart() // β 'hi'Use trimStart() to remove only leading whitespace from the beginning of a string, leaving trailing whitespace intact.
A string without leading whitespace is returned unchanged by trimStart().
Challenge: Implement verifyTrimStart(str) using trimStart.
verifyTrimStart('hello') // β 'hello'