Carpaccio programming JS
jlandure
23.5K views
Step 6
Now, we want to offer a discount to our biggest client. Let's add a 15% discount if the amount reach $50,000.
Are you able to display the price?
1
2
3
4
5
6
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {
};
With this step, we have a new version ready to deploy.
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.