securityos/node_modules/core-js/modules/_fails.js

8 lines
104 B
JavaScript

module.exports = function (exec) {
try {
return !!exec();
} catch (e) {
return true;
}
};