Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Consider the following code snippet :

    var o = new F();

    o.constructor === F

    The output would be :

  2. A.

     false

    B.

     true

    C.

     0

    D.

     1

    View Answer

    Workspace

    Answer : Option B

    Explanation :

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


Be The First To Comment