Examveda
Examveda

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

A. false

B. true

C. 0

D. 1

Answer: Option B

Solution(By Examveda Team)

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

Join The Discussion

Related Questions on Classes and Modules