PageRenderTime 51ms CodeModel.GetById 25ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/socket.io/support/expresso/deps/jscoverage/tests/javascript/javascript-while.js

https://bitbucket.org/yluft/pulsecity
JavaScript | 35 lines | 29 code | 6 blank | 0 comment | 10 complexity | 6938bbe7930a8e28affee2b37d305df6 MD5 | raw file
Possible License(s): MIT, GPL-2.0, BSD-3-Clause
  1. while (x) {
  2. x();
  3. }
  4. while (x) {
  5. ;
  6. }
  7. while (x)
  8. x();
  9. while (x)
  10. ;
  11. while (x) {
  12. if (x) {
  13. continue;
  14. }
  15. }
  16. label:
  17. while (x) {
  18. if (x) {
  19. continue label;
  20. }
  21. }
  22. label2: {
  23. f();
  24. while (x) {
  25. if (x) {
  26. break label2;
  27. }
  28. }
  29. }