KJS: remove unused polyfill String.prototype.contains

This commit is contained in:
Zalim Bashorov
2016-12-27 02:17:13 +03:00
parent 264e319487
commit cfba99c704
-4
View File
@@ -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;
};