const supportsOptionalCatchBinding = require("../../../helpers/supportsOptionalCatchBinding");

module.exports = function(config) {
	return supportsOptionalCatchBinding();
};

const supportsOptionalCatchBinding = require("../../../helpers/supportsOptionalCatchBinding");

module.exports = function(config) {
	// XXX: Disable this test if UglifyJS is used because it does not support ES 2019
	if (config.mode === "production") {
		return false;
	}
	return supportsOptionalCatchBinding();
};

Disable the test if UglifyJS is used
Disable the test if UglifyJS is used
