Carpaccio programming JS


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?
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {

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