1
0

is-implemented.js 153 B

12345678
  1. 'use strict';
  2. var re = /foo/;
  3. module.exports = function () {
  4. if (typeof re.search !== 'function') return false;
  5. return re.search('barfoo') === 3;
  6. };