CJCoding With Joseph
15per day
← Back to Question List

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics:
JavaScript Quiz #12

Total Price With forEach

easyLoops

Given const prices = [10, 20, 15];, which approach correctly calculates and logs "Total price: 45"?

📄 Code

1const prices = [10, 20, 15];