Tell us what’s happening:
what does this have to do with destructuring or commas?
Your code so far
let a = 8, b = 6;
// Only change code below this line
[ a, b] = [b, a];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
.
Challenge: Use Destructuring Assignment to Assign Variables from Arrays
Link to the challenge: