String JavaScript Tutorial

Syntax

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