Home / Programming MCQs / JavaScript MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. Consider the following code snippet
function f() {};
The above prototype represents a

(A) Function f
(B) A custom constructor
(C) Prototype of a function
(D) Not valid
Explanation by: Mr. Dubey
The above code snippet defines a custom constructor.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.