Abstract

In this chapter we look at JavaScript’s ability to chain methods together. By using a few simple techniques, application developers can streamline their code authoring. As well as writing time-saving functions that reduce the burden of common tasks, you can improve how code is implemented. In the end, you can write an entire JavaScript library that embraces the technique of chaining, and chains together all your favorite methods.

Keywords

Sugar 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Ross Harmes and Dustin Diaz 2008

Personalised recommendations