3 ms·
But it is well known (see either "The Good Parts" or "High Performance Javascript" that appending strings is quadratic in JavaScript, and that the best way
by rimantas 16y ago
But it is well known (see either "The Good Parts" or "High
Performance Javascript" that appending strings is quadratic
in JavaScript, and that the best way to assemble a large,
multipart string is arrayOfStrings.join('');
It's a bit fuzzy now, modern browser optimized that quite a bit, so this mainly applies to older versions of IE.