A

Admin • 833.24K Points
Coach

Q. Consider the following code snippet :
var o = new F();
o.constructor === F
The output would be :

  • (A) false
  • (B) true
  • (C) 0
  • (D) 1

Explanation by: Admin

The result is true: the constructor property specifies the class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.