1
0

shim.js 163 B

12345678
  1. 'use strict';
  2. var validRegExp = require('../../valid-reg-exp');
  3. module.exports = function (string) {
  4. validRegExp(this);
  5. return String(string).search(this);
  6. };