Which is the correct code that returns a complex number that is the complex conjugate of this one?

Which is the correct code that returns a complex number that is the complex conjugate of this one? Correct Answer Complex.prototype.conj = function() { return new Complex(this.r, -this.i); };

Object.prototype.constructor specifies the function that creates the object prototype. The above code snippet returns a complex number that is the complex conjugate of this one.

Related Questions