1. Complex.prototype.conj = function() { return new Complex(this.r, -this.i); };
  2. Complex.prototype.conj = function() { return Complex(this.r, -this.i); };
  3. Complex.prototype.conj = function() { return (this.r, -this.i); };
  4. Complex.prototype.conj = function() { new Complex(this.r, -this.i); };
6 views

1 Answers

Answer: Option 1

The above code snippet returns a complex number that is the complex conjugate of this one.

6 views

Related Questions