2 ms·
I don't view it as that the something returned depends on the left hand side, rather that the left hand side picks what it wants out of that. It's also useful i
by yesbabyyes 15y ago
I don't view it as that the something returned depends on the left hand side, rather that the left hand side picks what it wants out of that. It's also useful in arrays:
[x, y] = [1, 2]
With splats:
[first, second, rest...] = contenders