By default every function has a property name as prototype which is EMPTY (by default). We can add properties and methods to it.
Note: Every function is a contructor function in JS.
Let's say we have an function x
and create an object x
of x
as x1
will inherite the prototype of x
.