mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Shopping List Workshop - add space in function declaration (#56501)
This commit is contained in:
committed by
GitHub
parent
05d803630b
commit
4d78206076
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user