Changeset: Add missing `StringAssembler.clear()` method
parent
36d06006dc
commit
8c01b66d40
|
@ -649,6 +649,7 @@ exports.stringIterator = (str) => {
|
||||||
*/
|
*/
|
||||||
exports.stringAssembler = () => ({
|
exports.stringAssembler = () => ({
|
||||||
_str: '',
|
_str: '',
|
||||||
|
clear() { this._str = ''; },
|
||||||
/**
|
/**
|
||||||
* @param {string} x -
|
* @param {string} x -
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue