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.

This Question Belongs to Javascript >> Classes And Modules

Join The Discussion

Related Questions on Classes and Modules