KJS: remove unused polyfill String.prototype.contains
This commit is contained in:
@@ -31,7 +31,3 @@ if (typeof String.prototype.endsWith === "undefined") {
|
||||
return lastIndex !== -1 && lastIndex === position;
|
||||
};
|
||||
}
|
||||
|
||||
String.prototype.contains = function (s) {
|
||||
return this.indexOf(s) !== -1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user