PageRenderTime 226ms CodeModel.GetById 91ms app.highlight 1ms RepoModel.GetById 79ms app.codeStats 0ms

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

http://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs
JavaScript | 35 lines | 29 code | 6 blank | 0 comment | 10 complexity | 6938bbe7930a8e28affee2b37d305df6 MD5 | raw file
 1while (x) {
 2  x();
 3}
 4
 5while (x) {
 6  ;
 7}
 8
 9while (x)
10  x();
11
12while (x)
13  ;
14
15while (x) {
16  if (x) {
17    continue;
18  }
19}
20
21label:
22while (x) {
23  if (x) {
24    continue label;
25  }
26}
27
28label2: {
29  f();
30  while (x) {
31    if (x) {
32      break label2;
33    }
34  }
35}