easysync: add clear method to stringAssembler
parent
0cc15df9b9
commit
12ebca897d
|
@ -676,6 +676,7 @@ exports.stringIterator = (str) => {
|
||||||
*/
|
*/
|
||||||
exports.stringAssembler = () => ({
|
exports.stringAssembler = () => ({
|
||||||
_str: '',
|
_str: '',
|
||||||
|
clear() { this._str = ''; },
|
||||||
/**
|
/**
|
||||||
* @param {string} x -
|
* @param {string} x -
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue