I would like to be able to do this kind of assignment in node js:
[a,b,c] = [1,2,3]
or just like in python
a,b,c = 1,2,3
so that I would have a=1, b=2 and b=3.
Actually the purpose of this is to do something like
[a,b,c] = somefunc()
or for array declaration
[a,b,c] = [[],[],[]]
Any ideas?