From 2c1372f07518309448e04a74513049f6754dd907 Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Thu, 27 Aug 2020 20:40:10 +0200 Subject: [PATCH] Cleanup --- src/utils/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/index.js b/src/utils/index.js index 1cabda6..c2b6e82 100644 --- a/src/utils/index.js +++ b/src/utils/index.js @@ -72,6 +72,7 @@ export const addPolyfills = () => { }; } + /* if (!String.prototype.startsWith) { Object.defineProperty(String.prototype, 'startsWith', { value: function(search, rawPos) { @@ -80,6 +81,7 @@ export const addPolyfills = () => { } }); } + */ if (!String.prototype.includes) { String.prototype.includes = function(search, start) {