Skip to content

Commit c100c93

Browse files
committed
Fix: remove unnecessary parentheses and clean recipe output
1 parent 4b1481f commit c100c93

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Sprint-2/debug/recipe.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ const recipe = {
1111
};
1212

1313
console.log(`${recipe.title} serves ${recipe.serves}
14-
("ingredients:")
15-
${recipe}`);
14+
Ingredients:`);
1615

1716
for (const ingredient of recipe.ingredients) {
1817
console.log(ingredient);

0 commit comments

Comments
 (0)