Carpaccio programming JS
jlandure
24.5K views
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) => {
};
It's again basic but we now take input to print output.
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.