From eff603fbec19a018e7a3e909f1672461a914b157 Mon Sep 17 00:00:00 2001 From: RoyKms <59699671+roykamsi@users.noreply.github.com> Date: Sun, 10 Apr 2022 10:10:20 +0200 Subject: [PATCH] Update 11_day_destructuring_and_spreading.md Line 111: An S was missing and the code wasn't working properly because of that --- .../11_day_destructuring_and_spreading.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md b/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md index 3367ab1..ddc79f2 100644 --- a/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md +++ b/11_Day_Destructuring_and_spreading/11_day_destructuring_and_spreading.md @@ -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) \ No newline at end of file +[<< Day 10](../10_Day_Sets_and_Maps/10_day_Sets_and_Maps.md) | [Day 12 >>](../12_Day_Regular_expressions/12_day_regular_expressions.md)