shim.js 177 B

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