JSREF

JavaScript String trimStart()

The trimStart() method removes whitespace from the beginning of a string.