Carpaccio programming JS
jlandure
25.2K views
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
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
6
// Hi, there
// use console.log to print something
module.exports = (nbItems, pricePerItem, state) => {
};
Enter to Rename, Shift+Enter to Preview
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