[I've also written a longer answer for beginners]Â
Prototypes can extend any class you want by adding a property or a method. By calling,
you are adding the method alertMe() to every String object of your application.
Short answer done!