support patterns in constants

This commit is contained in:
Sebastian McKenzie
2014-10-11 23:31:53 +11:00
parent bb9b7455b5
commit 2dbdb9e3a5
5 changed files with 57 additions and 3 deletions

View File

@@ -0,0 +1,2 @@
const [a, b] = [1, 2];
a = 3;

View File

@@ -0,0 +1,3 @@
{
"throws": "a is read-only"
}