function StringBuffer(){
this._strings_ = new Array();
}
StringBuffer.prototype.append = function(str){
this._strings_.push(str);
}
StringBuffer.prototype.toString = function(){
this._strings_.join("");
}
Js的StringBuffer,布布扣,bubuko.com
原文:http://www.cnblogs.com/ai3xiaoyi/p/3587139.html