Create a Function in JavaScript using Constructors
I'm trying to draw a diagram for a invoice problem statement. I need to create the function in JavaScript and call it in an HTML file. For the objects identified write a constructor.Then create create two methods that act on invoices. One should be addLineItem that adds a line item to an existing invoice. The other should c