I though that too, but I did some benchmarks, and found out concat to perform a bit faster than +=. It was not the most extensive benchmark, and it might vary from browser to browser and such... but would be interesting to know though
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I though that too, but I did some benchmarks, and found out concat to perform a bit faster than
+=
. It was not the most extensive benchmark, and it might vary from browser to browser and such... but would be interesting to know though