Merge pull request #15 from udaya28/patch-1

Update javascript-destructuring-assignment.md
This commit is contained in:
Isabelle Viktoria Maciohsek
2021-05-25 17:02:45 +03:00
committed by GitHub

View File

@ -18,7 +18,7 @@ const nums = [ 3, 6, 9, 12, 15 ];
const [
k, // k = 3
l, // l = 6
, // Skip a value (12)
, // Skip a value (9)
...n // n = [12, 15]
] = nums;
```