@@ -57,7 +57,7 @@ Destructuring is a way to unpack arrays, and objects and assigning to a distinct
5757
5858``` js
5959 const names = [' Asabeneh' , ' Brook' , ' David' , ' John' ]
60- let [firstPerson, secondPerson, ThirdPerson, fourth Person ] = names
60+ let [firstPerson, secondPerson, thirdPerson, fourthPerson ] = names
6161
6262 console .log (firstName, secondPerson,thirdPerson, fourthPerson)
6363```
@@ -108,7 +108,7 @@ If we like to skip on of the values in the array we use additional comma. The co
108108
109109``` js
110110 const names = [' Asabeneh' , ' Brook' , ' David' , ' John' ]
111- let [, secondPerson, , fourth Person ] = name // first and third person is omitted
111+ let [, secondPerson, , fourthPerson ] = name // first and third person is omitted
112112
113113 console .log (secondPerson, fourthPerson)
114114```
@@ -695,4 +695,4 @@ const users = [
695695```
696696🎉 CONGRATULATIONS ! 🎉
697697
698- [ << Day 10] ( ../10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md ) | [ Day 12>>] ( ../12_Day_Regular_expressions/12_day_regular_expressions.md )
698+ [ << Day 10] ( ../10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md ) | [ Day 12>>] ( ../12_Day_Regular_expressions/12_day_regular_expressions.md )
0 commit comments