(x)
| 214 | |
| 215 | |
| 216 | function continue_alot_from_finally(x) { |
| 217 | var j = 0; |
| 218 | for (var i = 0; i < x;) { |
| 219 | try { |
| 220 | j++; |
| 221 | continue; |
| 222 | j++; // should not happen |
| 223 | } finally { |
| 224 | i++; // must happen |
| 225 | } |
| 226 | j++; // should not happen |
| 227 | } |
| 228 | return j; |
| 229 | } |
| 230 | |
| 231 | |
| 232 | assertEquals(100, continue_alot_from_finally(100)); |