Update 11_day_destructuring_and_spreading.md file

fixed the typos in 11_day_destructuring_and_spreading.md file
pull/96/head^2
Ubong Ndoh 5 years ago committed by GitHub
parent 3996791ff3
commit 01eb3322ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,7 +57,7 @@ Destructuring is a way to unpack arrays, and objects and assigning to a distinct
```js
const names = ['Asabeneh', 'Brook', 'David', 'John']
let [firstPerson, secondPerson, ThirdPerson, fourth Person] = names
let [firstPerson, secondPerson, thirdPerson, fourthPerson] = names
console.log(firstName, secondPerson,thirdPerson, fourthPerson)
```

Loading…
Cancel
Save