GoScrobble/web/node_modules/core-js-pure/internals/fails.js

8 lines
108 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
module.exports = function (exec) {
try {
return !!exec();
} catch (error) {
return true;
}
};