Consider following code snippet:

function A() { ... }
function B() { ... }
var a = new A;
var b = new B;
console.log( a == b ); // true
Is it possible to create two new Objects a and b that will return the true on comparing them (a == b // true) ? Select correct option.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes