https://github.com/chsword/stringbuilder
Javascript StringBuilder
https://github.com/chsword/stringbuilder
Last synced: about 2 months ago
JSON representation
Javascript StringBuilder
- Host: GitHub
- URL: https://github.com/chsword/stringbuilder
- Owner: chsword
- Created: 2014-06-07T03:15:20.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2015-01-10T06:07:38.000Z (over 11 years ago)
- Last Synced: 2025-03-12T00:41:16.663Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 184 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
StringBuilder
=============
A javascript StringBuilder will be chosing a fast way to run string concat.
unit test
```js
var sb = new StringBuilder();
sb.append("a").append("b");
sb.appends("a","b");
console.log(sb.toString());
sb.append("a");
sb.append("b");
console.log(sb.toString());
sb.clear();
```