Today, I read this thread about speed of string concatenation.
Surprisingly, string concatenation was the winner:
Â Â http://jsperf.com/array-join-vs-string-connect
Â Â http://jsperf.com/join-concat/2
The result was opposite from what I thought. Besides, there are many articles about this which explains oppositely like this or this.
I can guess that browsers are optimized to string concat on latest version, but how do they do that? Can we say that it is better to use + when concatenating strings?
Â Â Â Â