js 效率组装字符串,主要是利用了数组原理。function StringBuffer() { this.array = new Array(); } StringBuffer.prototype.append = function(value) { this.array[this.array.length] = value; ...
116
2020-02-02