Which Is The Correct Code That Returns A Complex Number That Is #172
Which is the correct code that returns a complex number that is the complex conjugate of this one?
This multiple choice question (MCQ) is related to the book/course gs gs106 Javascript. It can also be found in gs gs106 Classes and Modules - Augmentation of JavaScript Classes - Quiz No.1.
Which is the correct code that returns a complex number that is the complex conjugate of this one?
Complex.prototype.conj = function() { return new Complex(this.r, -this.i); };
Complex.prototype.conj = function() { return Complex(this.r, -this.i); };
Complex.prototype.conj = function() { return (this.r, -this.i); };
Complex.prototype.conj = function() { new Complex(this.r, -this.i); };
Similar question(s) are as followings:
Online Quizzes of gs106 Javascript
Graphics and Rendering in JavaScript - Scripted Media - Quiz No.1
gs gs106 Javascript
Online Quizzes