Looking at my regular JavaScript code, I see that destructuring assignments are everywhere. Reading object properties and accessing array items are frequent operations. The destructuring assignments make these operations so much easier and concise. In this post, I will describe 5 interesting uses of destructuring in JavaScript, beyond the basic usage. 1. Swap variables The usual way to swap 2 vari
