PageRenderTime 95ms CodeModel.GetById 93ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 21 lines | 20 code | 1 blank | 0 comment | 2 complexity | e3cf9ba4a7672c9359d776050dbf033b MD5 | raw file
 1switch (x) {
 2case x:
 3  x = 0;
 4  break;
 5case y:
 6  x = 0;
 7  y = 0;
 8  break;
 9default:
10  x = 0;
11  break;
12}
13
14switch (x) {
15case 1:
16  let y = 1;
17  f(y);
18  break;
19case 2:
20  break;
21}