[x] = [y] = [1] works again

This commit is contained in:
satyr
2010-10-02 21:49:21 +09:00
parent 765f57b658
commit 769870b493
3 changed files with 5 additions and 2 deletions

View File

@@ -139,3 +139,6 @@ if func func
{a} = obj
ok a is 101
[x] = {0: y} = {'0': z} = [Math.random()]
ok x is y is z, 'destructuring in multiple'