Tell us what’s happening:
Describe your issue in detail here.
I have so far been able to swap but the test is not running because it is saying that I have not used the destructuring assignment.
Your code so far
let a = 8, b = 6;
// Only change code below this line
[a, b] = [6, 8];
console.log(a, b)
Your browser information:
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13505.73.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.109 Safari/537.36
Challenge: Use Destructuring Assignment to Assign Variables from Arrays
Link to the challenge: