Add holes in destructuring defs, also make them nestable

This commit is contained in:
Fábio Santos
2015-08-14 01:16:54 +01:00
committed by Richard van Velzen
parent c44c2d6c21
commit 025d34bfa2
3 changed files with 42 additions and 5 deletions

View File

@@ -17,3 +17,9 @@ destructuring_objects: {
}
}
nested_destructuring_objects: {
input: {
var [{a},b] = c;
}
expect_exact: 'var[{a},b]=c;';
}