In this chapter, we learned how to document Backbone JavaScript code and what specific areas to focus on when doing so. We explored three different documentation options—non-documentation, simple documentation, and robust documentation—and considered two popular tools for generating robust documentation: JSDoc, and Docco.
In the next chapter, we'll look at how to test your Backbone code. In particular, we'll explore the popular test running frameworks QUnit and Mocha, as well as the Sinon library for creating spies, stubs, and mocks.
18.220.53.93