We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d6630 commit 0cdfa17Copy full SHA for 0cdfa17
1 file changed
Sprint-2/debug/recipe.js
@@ -11,7 +11,5 @@ const recipe = {
11
};
12
13
console.log(`${recipe.title} serves ${recipe.serves}
14
- ingredients:`);
15
-for (const ingredient of recipe.ingredients) {
16
- console.log(ingredient);
17
-}
+ingredients:
+${recipe.ingredients.join("\n")}`);
0 commit comments