You know how regular functions work: they take parameters and apply some action to them to produce a result: function calculateTax(price, taxRate) { return price*taxRate; } console.log(calculateTax(10, 0.3); //result: 3; The function above has t...
Markdown supported · ⌘↵ to post
No responses yet.