This commit is contained in:
Rainer Simon 2020-08-27 20:40:10 +02:00
parent d1cf472938
commit 2c1372f075
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ export const addPolyfills = () => {
}; };
} }
/*
if (!String.prototype.startsWith) { if (!String.prototype.startsWith) {
Object.defineProperty(String.prototype, 'startsWith', { Object.defineProperty(String.prototype, 'startsWith', {
value: function(search, rawPos) { value: function(search, rawPos) {
@ -80,6 +81,7 @@ export const addPolyfills = () => {
} }
}); });
} }
*/
if (!String.prototype.includes) { if (!String.prototype.includes) {
String.prototype.includes = function(search, start) { String.prototype.includes = function(search, start) {