.trimStart()

Term side of the Card
Topic: String
Unit title: .trimStart()
Categories: Method
Explanation side of the Card

Explanation: The method that removes whitespace from the beginning of a string. It's useful for cleaning up leading spaces in text data.

Browser compatibility:
  • The chrome browser supports this feature starting from version 66
  • The edge browser supports this feature starting from version 79
  • The firefox browser supports this feature starting from version 61
  • The safari browser supports this feature starting from version 12
Availability: