Version 1
[yaffs-website] / node_modules / core-js / library / fn / regexp / search.js
diff --git a/node_modules/core-js/library/fn/regexp/search.js b/node_modules/core-js/library/fn/regexp/search.js
new file mode 100644 (file)
index 0000000..4e149d0
--- /dev/null
@@ -0,0 +1,5 @@
+require('../../modules/es6.regexp.search');
+var SEARCH = require('../../modules/_wks')('search');
+module.exports = function(it, str){
+  return RegExp.prototype[SEARCH].call(it, str);
+};
\ No newline at end of file