Skip to content

Commit

Permalink
fix(curriculum): Shopping List Workshop - add space in function decla…
Browse files Browse the repository at this point in the history
…ration (freeCodeCamp#56501)
  • Loading branch information
Ritesh2351235 authored Oct 9, 2024
1 parent 05d8036 commit 4d78206
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");

function getShoppingListMsg(){
function getShoppingListMsg() {
return `Current Shopping List: ${shoppingList}`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const shoppingList = [];
console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");
function getShoppingListMsg(){
function getShoppingListMsg() {
return `Current Shopping List: ${shoppingList}`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");

function getShoppingListMsg(){
function getShoppingListMsg() {
return `Current Shopping List: ${shoppingList}`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");

function getShoppingListMsg(){
function getShoppingListMsg() {
return `Current Shopping List: ${shoppingList}`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");

function getShoppingListMsg(){
function getShoppingListMsg() {
return `Current Shopping List: ${shoppingList}`;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");

function getShoppingListMsg(){
function getShoppingListMsg() {
return `Current Shopping List: ${shoppingList}`;
}

Expand Down

0 comments on commit 4d78206

Please sign in to comment.