swap two variables without using third variable javascript code example
Example 1: javascript swap two variables
[a, b] = [b, a];
Example 2: js swap
dmitripavlutin.com › swap-variables-javascript
[a, b] = [b, a];
dmitripavlutin.com › swap-variables-javascript