lepu-test-platform-web/node_modules/core-js/internals/fails.js

8 lines
108 B
JavaScript

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