Javascript String condense()

Description

Javascript String condense()



'use strict';/*from   w  w  w  .  ja va 2  s  .co m*/

String.prototype.condense = function()
{
    return this.split(" ").join("");
};



PreviousNext

Related