_perform.js 132 B

1234567
  1. module.exports = function (exec) {
  2. try {
  3. return { e: false, v: exec() };
  4. } catch (e) {
  5. return { e: true, v: e };
  6. }
  7. };