🏠 New in Low Baseline Support: String startsWith() and endsWith()

September 30, 2015

caniuse · mdn · spec

The startsWith() and endsWith() methods of strings returns whether a search string appears at the beginning or end of the provided string.

Source features