massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / not-a-regexp.js
index 7bb4e9c7aae41c999bc02e8a3cfa2f31aaa65aca..8bf1826e7543996880a4219015d9f18b7d57c90c 100644 (file)
@@ -1,5 +1,8 @@
+var global = require('../internals/global');
 var isRegExp = require('../internals/is-regexp');
 
+var TypeError = global.TypeError;
+
 module.exports = function (it) {
   if (isRegExp(it)) {
     throw TypeError("The method doesn't accept regular expressions");