Add line break (#23064)

Added a line break between the last section's title and its content.
pull/21690/head^2
Eve Mendelevich 2018-11-14 23:19:06 -05:00 committed by Manish Giri
parent 969065887a
commit 9b51c70d45
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ const {first: firstName, last: lastName} = fullName;
console.log(firstName, lastName); // John Smith
```
**Array Destructuring with rest**
When destructuring an array, you can unpack and assign the remaining part of it to a variable using the rest pattern:
```js
const [a, ...b] = [1, 2, 3];