PageRenderTime 74ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/js/lib/Socket.IO-node/support/expresso/deps/jscoverage/tests/javascript/javascript-try.js

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 32 lines | 28 code | 4 blank | 0 comment | 1 complexity | 2f9051a6dba7fedf813970e9c89fb9f9 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, MPL-2.0-no-copyleft-exception, BSD-3-Clause
  1. function f() {}
  2. try {
  3. f();
  4. }
  5. catch (e) {
  6. f();
  7. }
  8. try {
  9. f();
  10. }
  11. catch (e if e instanceof E) {
  12. f();
  13. }
  14. try {
  15. f();
  16. }
  17. finally {
  18. f();
  19. }
  20. try {
  21. f();
  22. }
  23. catch (e) {
  24. f();
  25. }
  26. finally {
  27. f();
  28. }