The prototype property is an object (called as prototype object) has a constructor property by default. constructor property points back to the function on which the prototype object is a property. We can access the function’s prototype property using the syntax functionName.prototype.
I usually loved to work on Python has many inbuilt methods like the title.
First, I build a simple method which takes a string as an argument which makes the title for that string.