aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/es/regexp/search.js
blob: 4adc913e4a5a9d0b41051821560bc252dc2d79d0 (plain)
1
2
3
4
5
6
7
8
require('../../modules/es.string.search');
var wellKnownSymbol = require('../../internals/well-known-symbol');

var SEARCH = wellKnownSymbol('search');

module.exports = function (it, str) {
  return RegExp.prototype[SEARCH].call(it, str);
};