Learn Programming - By Anvi 🤵🏼♀️💻
February 4, 2025 at 05:25 AM
Task for You
Create an array cart with at least 5 products, each having a name and price.
Use map() to increase all prices by 10%.
Use filter() to get products cheaper than $50.
Use reduce() to calculate the total price.