debian-mirror-gitlab/core-js/internals/host-report-errors.js
2019-09-25 13:30:05 +05:30

8 lines
223 B
JavaScript

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);
}
};