Javascript String condense()
condense()
'use strict';/*from w w w . ja va 2 s .co m*/ String.prototype.condense = function() { return this.split(" ").join(""); };