Skip to content

Commit 9302152

Browse files
committed
changed comment from one line to multiple lines for readability.
1 parent bbd6449 commit 9302152

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Sprint-2/debug/recipe.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
// This program should log out the title, how many it serves and the ingredients.
44
// Each ingredient should be logged on a new line
55
// How can you fix it?
6-
// The issue with the code is that it is trying to log the entire recipe object directly, which will not format the ingredients as desired. Instead, we need to access the properties of the recipe object and format the output correctly. We can use template literals to format the string and join the ingredients array with new line characters.
6+
/* The issue with the code is that it is trying to log the entire recipe object directly, which will not format the ingredients as desired.
7+
Instead, we need to access the properties of the recipe object and format the output correctly.
8+
We can use template literals to format the string and join the ingredients array with new line characters.
9+
*/
710

811
const recipe = {
912
title: "bruschetta",

0 commit comments

Comments
 (0)