A

Admin • 833K 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
  • Correct Answer - Option(B)
  • Views: 20
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The above code snippet defines a custom constructor.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.