You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to caniuse, the browser coverage for the fetch API is similar to the support range for String.prototype.startsWith,
which suggests that browsers requiring a fetch polyfill would likely also need a polyfill for the startsWith API.
Therefore, it would be advisable to use str.indexOf(searchString) === 0 instead of startsWith in the code for better compatibility across browsers
According to caniuse, the browser coverage for the fetch API is similar to the support range for String.prototype.startsWith,
which suggests that browsers requiring a fetch polyfill would likely also need a polyfill for the startsWith API.
Therefore, it would be advisable to use str.indexOf(searchString) === 0 instead of startsWith in the code for better compatibility across browsers
fetch/fetch.js
Lines 544 to 550 in b5cee50
The text was updated successfully, but these errors were encountered: