Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Consider the following code snippet

    function f() {};

    The above prototype represents a

  2. A.

     Function f

    B.

     A custom constructor

    C.

     Prototype of a function

    D.

     Not valid

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The above code snippet defines a custom constructor.


Be The First To Comment