I have a function that returns a tuple [number, number, number]
. I want to use destructuring to assign to my class variables the values returned by the tuple like this:
let [this.a, this.b, this.c] = functionThatReturnsTupleWithThreeNumbers()
but this doesn't work.