Changeset: Add missing `StringAssembler.clear()` method

rhansen-changeset
Richard Hansen 2021-11-23 03:00:00 -05:00
parent 36d06006dc
commit 8c01b66d40
1 changed files with 1 additions and 0 deletions

View File

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