Update 11_day_destructuring_and_spreading.md

Line 111: An S was missing and the code wasn't working properly because of that
pull/314/head
RoyKms 3 years ago committed by GitHub
parent a22baede03
commit eff603fbec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
```

Loading…
Cancel
Save