In a nutshell it's the "class" definition for a Javascript object. Adding a property to the prototype of an object type adds it to all instances of the class.
In this example, Eric has extended the
String class with a new function.
This is an advanced, but very very useful concept in Javascript.