Opal-Estate-Pro/node_modules/es5-ext/string/#/contains/shim.js

8 lines
177 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
"use strict";
var indexOf = String.prototype.indexOf;
module.exports = function (searchString/*, position*/) {
return indexOf.call(this, searchString, arguments[1]) > -1;
};