Carpaccio programming JS

jlandure
509 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Step 8

Now, we want to add the discount beginning at 1k for small customers.

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) => {
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

With this step, we have a discounted price for our small customers.

Let's go to the next step.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content