Assume there is a constructor for an object representing a complex number called Complex that takes two arguments: x the "real part" of the number and y the imaginary part of the number. Assume that the constructor function can be called without specifying x or y (i.e. leaving them as undefined) if desired. Assume further that the Complex objects have two methods, add and multiply, each of which takes two arguments that are Complex objects. Create an object called obj1 representing the complex number 3+4i (real part is 3 and imaginary part is 4). Create a second object called obj2 representing the complex number 1-6i. Create a third object called obj3, and set it to the sum of obj1 and obj2. Create a fourth object called obj4 and set it to the product of obj1 and obj2.

javascript programming
exercise: methods 07