fails.js 108 B

1234567
  1. module.exports = function (exec) {
  2. try {
  3. return !!exec();
  4. } catch (error) {
  5. return true;
  6. }
  7. };