Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
284 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | require('../../modules/es.regexp.exec');
|
---|
| 2 | require('../../modules/es.string.search');
|
---|
| 3 | var wellKnownSymbol = require('../../internals/well-known-symbol');
|
---|
| 4 |
|
---|
| 5 | var SEARCH = wellKnownSymbol('search');
|
---|
| 6 |
|
---|
| 7 | module.exports = function (it, str) {
|
---|
| 8 | return RegExp.prototype[SEARCH].call(it, str);
|
---|
| 9 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.