wishthis/node_modules/ext/string_/includes/implementation.js

8 lines
177 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
"use strict";
var indexOf = String.prototype.indexOf;
module.exports = function (searchString/*, position*/) {
return indexOf.call(this, searchString, arguments[1]) > -1;
};