diff options
Diffstat (limited to 'node_modules/core-js/internals/host-report-errors.js')
| -rw-r--r-- | node_modules/core-js/internals/host-report-errors.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/core-js/internals/host-report-errors.js b/node_modules/core-js/internals/host-report-errors.js new file mode 100644 index 0000000..dc84a6c --- /dev/null +++ b/node_modules/core-js/internals/host-report-errors.js @@ -0,0 +1,8 @@ +var global = require('../internals/global'); + +module.exports = function (a, b) { + var console = global.console; + if (console && console.error) { + arguments.length === 1 ? console.error(a) : console.error(a, b); + } +}; |
