Home >Web Front-end >JS Tutorial >The speed battle between String and StringBuffer in JavaScript_javascript tips
There is no StringBuffer class in Javascript when displaying the situation. A mainstream implementation of the Javascript StringBuffer class is to construct a StringBuffer class through prototype.
StringBuffer.js