πŸ“Š JavaScript
Q. The below prototype represents a
Code:
function f() {};
  • (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: Vinay Kumar
The above code snippet defines a custom constructor.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
172
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Vinay Kumar
Publisher
πŸ“ˆ
89%
Success Rate