Exercise 3: How much is the Bill?
In this exercise, you will be required to add a function, totalBill, as a property in the object and implement it as well.
In the first exercise, you created an object named product
with certain properties defined. This exercise is a continuation of it. ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy