massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / es / regexp / search.js
index 4adc913e4a5a9d0b41051821560bc252dc2d79d0..87e5c55a63877794d179ed62b9395c904cc90389 100644 (file)
@@ -1,8 +1,10 @@
+require('../../modules/es.regexp.exec');
 require('../../modules/es.string.search');
+var call = require('../../internals/function-call');
 var wellKnownSymbol = require('../../internals/well-known-symbol');
 
 var SEARCH = wellKnownSymbol('search');
 
 module.exports = function (it, str) {
-  return RegExp.prototype[SEARCH].call(it, str);
+  return call(RegExp.prototype[SEARCH], it, str);
 };