From Dev.to
String Concatenation vs Array Join: I Timed the Old Advice
I timed string += against array push then join at four loop sizes in Node 22 At 1 million iterations, += finished in 339ms against 437ms for push and join The two methods tied at 10,000 and 100,00...
