Question 3/24
advanced
Select one answer

What is prototype in JavaScript?

A blueprint for creating classes
A way to add properties/methods to all instances of a constructor function
A type of variable declaration
A method for cloning objects

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.