diff --git a/packages/transducers/src/rfn/str.ts b/packages/transducers/src/rfn/str.ts index 4044de2d3c..49421c0c89 100644 --- a/packages/transducers/src/rfn/str.ts +++ b/packages/transducers/src/rfn/str.ts @@ -10,6 +10,6 @@ export function str(sep?: string, xs?: Iterable): any { [...xs].join(sep) : reducer( () => "", - (acc, x) => (acc = first ? "" + x : acc + sep + x, first = false, acc), + (acc, x) => (acc = first ? acc + x : acc + sep + x, first = false, acc), ); }