Skip to content

Commit ffd8465

Browse files
committed
ingredients should print on a new line
1 parent 79e9ce6 commit ffd8465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sprint-2/debug/recipe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ const recipe = {
2020

2121
console.log(`${recipe.title} serves ${recipe.serves}
2222
ingredients:
23-
${recipe.ingredients}`);
23+
${recipe.ingredients.join("\n")}`);

0 commit comments

Comments
 (0)