michael@0: function testContinueWithLabel() { michael@0: var i = 0; michael@0: var j = 20; michael@0: checkiandj : michael@0: while (i < 10) { michael@0: i += 1; michael@0: checkj : michael@0: while (j > 10) { michael@0: j -= 1; michael@0: if ((j % 2) == 0) michael@0: continue checkj; michael@0: } michael@0: } michael@0: return i + j; michael@0: } michael@0: assertEq(testContinueWithLabel(), 20);