Your friend is a businessman and has asked you to help them with their backend application. They sell cool sunglasses online. Customers come to the site, choose items and see the total price. However, something went wrong, and all the clients see 0 as the total price no matter how many items they put in the cart. Here's the code:
const assert = require('node:assert');
const calcTotalPrice = (items, pricePerItem) => {
return items * pricePerItem
};
Which of these will help you debug the issue?