Stack Exchange
Stack Overflow
Questions
Tags
Users
About
Stack Overflow
Public
Questions
Tags
Users
About
Javascript - What is this syntax called?
Asked
Dec 03 '20 at 09:59
Active
Dec 03 '20 at 09:59
Viewed
25 times
0
[arr[i], arr[j]] = [arr[j], arr[i]]
I get what this is doing but what is it called?
javascript
asked Dec 03 '20 at 09:59
S.W.
67
6
9
[Destructuring Assignment](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment)?
–
Hao Wu
Dec 03 '20 at 10:01
0 Answers
0