1
0

is-implemented.js 158 B

12345678
  1. 'use strict';
  2. var re = /\|/;
  3. module.exports = function () {
  4. if (typeof re.split !== 'function') return false;
  5. return re.split('bar|foo')[1] === 'foo';
  6. };