+ 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
1 Antwort
+ 8
true " + " is the fastest followed by concat & join