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
πŸ’¬ Discuss
βœ… Correct Answer: (B) A custom constructor
Explanation: The above code snippet defines a custom constructor.
Explanation by: Mr. Dubey
The above code snippet defines a custom constructor.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
126
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
83%
Success Rate