+1 vote
in JavaScript by
In the following given line of code, the prototype representing the_____

functionx(){};  

a) Function x

b) Prototype of a function

c) A custom constructor

d) Not valid

1 Answer

0 votes
by

Answer: B

Reason: In general, every object instance has a unique property which indicates the constructor function that created it. A "custom" constructor is a kind of constructor that not needed any argument (or we can say constructor without argument) and it is created by the compiler automatically at the time of object creation if it is not created by user.

Related questions

+1 vote
asked Mar 22, 2021 in JavaScript by Robindeniel
0 votes
asked Mar 23, 2021 in JavaScript by sharadyadav1986
...