wishthis/node_modules/es5-ext/string/#/contains/shim.js
2022-01-21 09:28:41 +01:00

7 lines
177 B
JavaScript

"use strict";
var indexOf = String.prototype.indexOf;
module.exports = function (searchString/*, position*/) {
return indexOf.call(this, searchString, arguments[1]) > -1;
};