easysync: add clear method to stringAssembler

pull/5345/head
webzwo0i 2021-10-20 16:29:40 +02:00 committed by Richard Hansen
parent 0cc15df9b9
commit 12ebca897d
1 changed files with 1 additions and 0 deletions

View File

@ -676,6 +676,7 @@ exports.stringIterator = (str) => {
*/
exports.stringAssembler = () => ({
_str: '',
clear() { this._str = ''; },
/**
* @param {string} x -
*/