I'm stuck at this task. How can I use array destructuring to change the three statements below into 1 statement?
The main reason for my confusion is that a and b are already declared. And there is no array.
´´´
(function UseArrayDestructuring2() {
let a = 1;
let b = 2;
// Use array destructuring to change the 3 statements below into 1 statement.
// You should not need a temporary variable anymore.
let tmp = a;
a = b;
b = tmp;
// Don't make changes below this line
expect(a).toEqual(2);
expect(b).toEqual(1);
´´´