From fc457f3e406b0706c3cc264f34beb480fadbc434 Mon Sep 17 00:00:00 2001 From: JoemonReflections <105621339+JoemonReflections@users.noreply.github.com> Date: Thu, 8 Dec 2022 22:40:43 +0530 Subject: [PATCH] Updated Space --- 01_Day_JavaScript_Refresher/01_javascript_refresher.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/01_Day_JavaScript_Refresher/01_javascript_refresher.md b/01_Day_JavaScript_Refresher/01_javascript_refresher.md index 94650aa..0c16c0b 100644 --- a/01_Day_JavaScript_Refresher/01_javascript_refresher.md +++ b/01_Day_JavaScript_Refresher/01_javascript_refresher.md @@ -2133,10 +2133,12 @@ const products = [ ``` Imagine you are getting the above users collection from a MongoDB database. -a. Create a function called signUp which allows user to add to the collection. If user exists, inform the user that he has already an account. + + a. Create a function called signUp which allows user to add to the collection. If user exists, inform the user that he has already an account. b. Create a function called signIn which allows user to sign in to the application 3. The products array has three elements and each of them has six properties. + a. Create a function called rateProduct which rates the product b. Create a function called averageRating which calculate the average rating of a product