r/javascript • • Mar 27 '15

Airbnb JavaScript Style Guide - A mostly reasonable approach to JavaScript

https://github.com/airbnb/javascript/blob/master/README.md
315 Upvotes

158 comments sorted by

View all comments

4

u/[deleted] Mar 27 '15

hmmm... Array.join("") vs str += "some crap"

Ran some tests - string building is nearly twice faster than array.join()... Go figure.