News for hackers. Stuff that matters.
Re:Why Does “=” Mean Assignment? by OvermindDL1 on Wednesday April 11, 2018 @10:28AM (#16811394)
Javascript itself supports destructuing fine, here's some javascript straight from the firefox console:

    > let a = [1,2,3]
    undefined
    > [x,y,z] = a
    Array(3) [ 1, 2, 3 ]
    > x
    1
    > y
    2
    > z
    3

There are no comments on this comment yet.