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

Show parent comments

3

u/ianb Mar 28 '15
> (null).toString()
TypeError: Cannot read property 'toString' of null

1

u/shriek Mar 29 '15

So is undefined, but I see your point. Thanks for pointing that out.