//封装StringBuilder
function StringBuilder() { this._string_ = new Array(); }
StringBuilder.prototype.Append = function (str) { this._string_.push(str); }
StringBuilder.prototype.toString = function () { return this._string_.join(""); }
Javascript 封装StringBuilder
最新推荐文章于 2023-02-03 15:11:14 发布