+ 1

string concatenation -> concat vs + vs join

I would have guessed join or concat is faster than using +, but + is fastest (on my browser). Try it for yourself. https://jsperf.com/concat-vs-plus-vs-join

28th Sep 2017, 3:40 PM
tony s.
1 Antwort
+ 8
true " + " is the fastest followed by concat & join
28th Sep 2017, 4:30 PM
Lord Krishna
Lord Krishna - avatar