Bug 883523 - Regression: 'if(1) /a/.test("a")' causes a SyntaxError after landing bug 872735. r=till.