Re:Airbnb JavaScript Style Guide
by z3t4 on Friday July 03, 2015 @10:24AM
(#9825743)
About referencing "this": It can be very useful when writing object constructors, if you always reference an object with the constructor's name.
Then it will be super easy to rename say foo.bar to something else. It's also self "documented".
[ Parent
| on HN ]
There are no comments on this comment yet.