Question 21
Which of the following statement(s) is correct regarding the prototype in JavaScript?
Every constructor function has a property named ‘prototype’.
Any object created using the new keyword and the constructor function, will inherit from the constructor's prototype object.
Prototype of an object can be accessed using the ‘__proto__’ property of the object.
The prototype of an object can be accessed using the ‘prototype’ property of the object.