Why I don’t chain everything in JavaScript anymore

Chris Coyier Chris Coyier on

Matt Smith makes a lot of good points in his article about no longer chaining things in JavaScript. Just those first two code samples in the post say a lot, but stick around for all the samples and learn a little somethin’. To me, it’s the inevitability that I’m going to need to log something between the parts, and the clarity of the variable names.

It's time to take your JavaScript to the next level

Leave a Reply

Your email address will not be published. Required fields are marked *

$966,000

Frontend Masters donates to open source projects through thanks.dev and Open Collective, as well as donates to non-profits like The Last Mile, Annie Canons, and Vets Who Code.