🏠 New in High Baseline Support: String trimStart() and trimEnd()

July 15, 2022

caniuse · mdn · spec

The trimStart() and trimEnd() methods of strings return a new string with whitespace removed from the beginning or end of the string.

Source features