Skip to content

Commit fc413b7

Browse files
committed
Remove redundant comments
1 parent b172ead commit fc413b7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sprint-1/destructuring/exercise-3/exercise.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ let order = [
1111
const COLUMN_SPACING = 8;
1212
const ITEM_COLUMN_WIDTH = 20;
1313

14-
// Function to format multiple columns
1514
function formatColumns(quantity, item, total) {
1615
return (
1716
quantity.toString().padEnd(COLUMN_SPACING) +
@@ -33,5 +32,4 @@ order.forEach(({ itemName, quantity, unitPricePence }) => {
3332
console.log(formatColumns(quantity, itemName, totalItemCost.toFixed(2)));
3433
});
3534

36-
// Print the total cost at the end
3735
console.log(`\nTotal: ${totalCost.toFixed(2)}`);

0 commit comments

Comments
 (0)