O'Reilly logo

Learning Underscore.js by Alex Pop

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Using Underscore.js with Arrays, Objects, and Functions

The previous chapter explored the functionality provided by Underscore.js for collections. This chapter will continue in the same vein and will further explore the specialized features that Underscore implements for:

  • Arrays
  • Objects
  • Functions
  • Utility functions

The chapter assumes that you are familiar with the JavaScript built-in data types.

The source code for the examples from this chapter is hosted online at https://github.com/popalexandruvasile/underscorejs-examples/tree/master/arrays-objects-functions, and you can execute the examples using Cloud9 IDE at the address https://ide.c9.io/alexpop/underscorejs-examples from the arrays-functions-objects folder.

Arrays

The Underscore functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required