|
|
|
@ -108,7 +108,7 @@ If we like to skip on of the values in the array we use additional comma. The co
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
const names = ['Asabeneh', 'Brook', 'David', 'John']
|
|
|
|
|
let [, secondPerson, , fourthPerson] = name // first and third person is omitted
|
|
|
|
|
let [, secondPerson, , fourthPerson] = names // first and third person is omitted
|
|
|
|
|
|
|
|
|
|
console.log(secondPerson, fourthPerson)
|
|
|
|
|
```
|
|
|
|
@ -695,4 +695,4 @@ const users = [
|
|
|
|
|
```
|
|
|
|
|
🎉 CONGRATULATIONS ! 🎉
|
|
|
|
|
|
|
|
|
|
[<< Day 10](../10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md) | [Day 12 >>](../12_Day_Regular_expressions/12_day_regular_expressions.md)
|
|
|
|
|
[<< Day 10](../10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md) | [Day 12 >>](../12_Day_Regular_expressions/12_day_regular_expressions.md)
|
|
|
|
|