Carpaccio programming JS

jlandure
1,115 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 2

Now, we want to display the unit price for the article using the parameters of the function.

Are you able to display the unit price?
1
2
3
4
5
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

It's again basic but we now take input to print output.

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