PageRenderTime 27ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/node_modules/babel-polyfill/node_modules/core-js/library/modules/_fails.js

https://bitbucket.org/worklabschd/bingle_customer2
JavaScript | 7 lines | 7 code | 0 blank | 0 comment | 0 complexity | ee9da5f3087fb099e0073fbbc3f3aace MD5 | raw file
1module.exports = function (exec) {
2  try {
3    return !!exec();
4  } catch (e) {
5    return true;
6  }
7};