|
|
|
|
|
by bshimmin
4037 days ago
|
|
Other languages have this too, eg. Ruby: a, b = [1, 2]
a, b = {:a => 1, :b => 2}
Similarly in Python, at least for the array example (there's probably some way of destructuring a dictionary in Python, but I don't know it myself).PHP also has `list()`... |
|