Removed swap

This commit is contained in:
Angelos Chalaris
2017-12-16 14:22:08 +02:00
parent e0ae406574
commit 46ca8b33b7
3 changed files with 0 additions and 21 deletions

View File

@ -1,8 +0,0 @@
### Swap values of two variables
Use array destructuring to swap values between two variables.
```js
[varA, varB] = [varB, varA];
// [x, y] = [y, x]
```