Try oneUnit 2 · How Code Executes
- Read
- Predict
- Investigate
- Understand
The appThis checkout should take 20% off. The sneakers cost $50, but customers are charged $10.
function applyDiscount(price) { return price * ; // 20% off}const total = ;console.log(total);PredictCustomers pay $10, not $40. What went wrong?