Syntax String.prototype.property String.prototype.method The prototype property adds properties or methods to a core JavaScript object.