1
// Any copyright is dedicated to the Public Domain.
2
// http://creativecommons.org/licenses/publicdomain/
4
// Don't assert trying to parse any of these.
8
"var {'', a} = {a: 0};",
10
"({'bad'} = {bad: 0});",
12
"function f({''}) {}",
13
"function f({a, 'bad', c}) {}"];
16
for (var i = 0; i < a.length; i++) {
23
assertEq(x instanceof SyntaxError, true);
25
assertEq("" in this, false);
26
assertEq("bad" in this, false);
27
assertEq("if" in this, false);
29
reportCompare(0, 0, 'ok');