function StringBuffer() { this._strings = new Array(); } StringBuffer.prototype.Append = function(_string) { this._strings.push(_string); }; StringBuffer.prototype.ToString = function() { return this._strings.join(""); }; StringBuffer.prototype.Clear = function() { this._strings = []; };