Browse files

blarggghhh

  • Loading branch information...
1 parent 27d7fe0 commit 7b522365adaf87e0c5abb61c2e9356f3089b5ef5 @isaacs committed Jun 2, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 tmp/instrument.js
View
6 tmp/instrument.js
@@ -110,11 +110,15 @@ function test() {
const bar = 6, baz = 7;
// switch block. note we can't track case lines the same way.
- switch ("foo") {
+ switch (foo) {
+ case "fallthrough": // should put a trace here to know which
+ case 5: // case branch actually was triggered?
case "foo":
return 1;
case "bar":
return 2;
+ default:
+ return 100;
}
// for/for in

0 comments on commit 7b52236

Please sign in to comment.