load(libdir+"asserts.js");varoffenders=["(1 ... n)","[1 ... n]","(...x)","[...x for (x of y)]","[...x, x for (x of y)]","[...]","(...)","[...,]","[... ...[]]","(... ...[])","[x, ...]","(x, ...)"];for(varsampleofoffenders){assertThrowsInstanceOf(function(){eval(sample);},SyntaxError);}