JavaScript String Prototype

/* String prototype all built-in methods:
 * developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String
 * -------------------------------------------------------------------------
 */

// Example for *extending* the String prototype
String.prototype.reduce = function () { 
    return this.split().reduce(...arguments);
}
DenverCoder1