temporarily forbid AssignmentExpression destructuring outside of ExpressionStatement

This commit is contained in:
Sebastian McKenzie
2014-11-13 13:40:41 +11:00
parent 751ea7a12c
commit 8ff21b407d
6 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1 @@
console.log([x] = [123]);

View File

@@ -0,0 +1,3 @@
{
"throws": "AssignmentExpression destructuring outside of a ExpressionStatement is forbidden due to current limitations"
}