[ "a = 1, 2", "do {} while (doSomething(), !!test);", "for (; doSomething(), !!test; );", "if (doSomething(), !!test);", "switch (doSomething(), val) {}", "while (doSomething(), !!test);", "with (doSomething(), val) {}", "a => (doSomething(), a)", "(1), 2", "((1)) , (2)", "while((1) , 2);", // Do not allow comma operator in parentheses "var foo = (1, 2);", "(0,eval)(\"foo()\");", "foo(a, (b, c), d);", "do {} while ((doSomething(), !!test));", "for (; (doSomething(), !!test); );", "if ((doSomething(), !!test));", "switch ((doSomething(), val)) {}", "while ((doSomething(), !!test));", "with ((doSomething(), val)) {}", "a => ((doSomething(), a))" ]