Added samples

This commit is contained in:
Angelos Chalaris
2017-12-12 17:50:08 +02:00
parent d43b538dc1
commit 2e9315b0ec
40 changed files with 94 additions and 20 deletions

View File

@ -4,4 +4,5 @@ Use array destructuring to swap values between two variables.
```js
[varA, varB] = [varB, varA];
// [x, y] = [y, x]
```