From a8e8e091eab66cbedbc3b4425cfeca930482e5d2 Mon Sep 17 00:00:00 2001 From: Mitch Lloyd Date: Fri, 12 Feb 2021 09:25:50 +0000 Subject: [PATCH 1/2] Clarify instructions for 3-groceries.js --- mandatory/3-groceries.js | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/mandatory/3-groceries.js b/mandatory/3-groceries.js index a416c23c..74253a54 100644 --- a/mandatory/3-groceries.js +++ b/mandatory/3-groceries.js @@ -13,18 +13,19 @@ Complete the exercises below. // Here is your let weeklyMealPlan = { - monday: ["Cheese", "Eggs", "Tomato", "Paprika", "Leek"], - tuesday: ["Wrap", "Tuna", "Canned beans", "Cheese", "Carrot", "Aubergine"], - wednesday: ["Orange Juice", "Apple", "Ananas", "Black tea"], - thursday: ["Lamb", "Salt", "Bulgur", "Potato"], - friday: ["Rice milk", "Blueberries", "Porridge", "Banana", "Cinnamon"], - saturday: ["Olive oil", "Potato", "Salmon", "Asparagus"], + monday: ['Cheese', 'Eggs', 'Tomato', 'Paprika', 'Leek'], + tuesday: ['Wrap', 'Tuna', 'Canned beans', 'Cheese', 'Carrot', 'Aubergine'], + wednesday: ['Orange Juice', 'Apple', 'Ananas', 'Black tea'], + thursday: ['Lamb', 'Salt', 'Bulgur', 'Potato'], + friday: ['Rice milk', 'Blueberries', 'Porridge', 'Banana', 'Cinnamon'], + saturday: ['Olive oil', 'Potato', 'Salmon', 'Asparagus'], sunday: [], }; /* Exercise 1: Loop through the weekly meal plan object to gather weekly ingredients into the weeklyGroceriesToBuy array. + The weeklyGroceriesToBuy array shouldn't contain any repeating items. Then use console.log() to print out the list. */ // Gather all week item names into this array From cf5cf3d7bc20fecad9983de7df1093ea18e41060 Mon Sep 17 00:00:00 2001 From: Mitch Lloyd Date: Fri, 12 Feb 2021 09:27:54 +0000 Subject: [PATCH 2/2] bring in line with default prettiter settings --- mandatory/3-groceries.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mandatory/3-groceries.js b/mandatory/3-groceries.js index 74253a54..35bf3f65 100644 --- a/mandatory/3-groceries.js +++ b/mandatory/3-groceries.js @@ -13,12 +13,12 @@ Complete the exercises below. // Here is your let weeklyMealPlan = { - monday: ['Cheese', 'Eggs', 'Tomato', 'Paprika', 'Leek'], - tuesday: ['Wrap', 'Tuna', 'Canned beans', 'Cheese', 'Carrot', 'Aubergine'], - wednesday: ['Orange Juice', 'Apple', 'Ananas', 'Black tea'], - thursday: ['Lamb', 'Salt', 'Bulgur', 'Potato'], - friday: ['Rice milk', 'Blueberries', 'Porridge', 'Banana', 'Cinnamon'], - saturday: ['Olive oil', 'Potato', 'Salmon', 'Asparagus'], + monday: ["Cheese", "Eggs", "Tomato", "Paprika", "Leek"], + tuesday: ["Wrap", "Tuna", "Canned beans", "Cheese", "Carrot", "Aubergine"], + wednesday: ["Orange Juice", "Apple", "Ananas", "Black tea"], + thursday: ["Lamb", "Salt", "Bulgur", "Potato"], + friday: ["Rice milk", "Blueberries", "Porridge", "Banana", "Cinnamon"], + saturday: ["Olive oil", "Potato", "Salmon", "Asparagus"], sunday: [], };