PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 2ms 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
 1function f() {}
 2
 3try {
 4  f();
 5}
 6catch (e) {
 7  f();
 8}
 9
10try {
11  f();
12}
13catch (e if e instanceof E) {
14  f();
15}
16
17try {
18  f();
19}
20finally {
21  f();
22}
23
24try {
25  f();
26}
27catch (e) {
28  f();
29}
30finally {
31  f();
32}