Baseline Widely Strings
String startsWith() and endsWith()
The startsWith() and endsWith() methods of strings returns whether a search string appears at the beginning or end of the provided string.
Baseline Status
Widely Available
Since 2015-09-30
First Core Launch
Firefox 17
2012-11-20
Core-3 Stability
1,044d (2.9y)
Last: Safari (2015-09-30)
BCD Keys Mapped
2
Group: Strings
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 17 | 2012-11-20 |
| Firefox for Android | mobile | 17 | 2012-11-20 |
| Chrome Android | mobile | 36 | 2014-07-16 |
| Chrome | desktop | 41 | 2015-03-03 |
| Edge | desktop | 12 | 2015-07-29 |
| Safari on iOS | mobile | 9 | 2015-09-16 |
| Safari | desktop | 9 | 2015-09-30 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| javascript.builtins.String.endsWith | JS | 1,044d (2.9y) |
| javascript.builtins.String.startsWith | JS | 1,044d (2.9y) |