Summary

This chapter introduced you to the concept of a collection and how they can be compared to arrays. Lo-Dash treats collections as an abstract concept—all JavaScript arrays are collections, but not all collections are arrays. We were introduced to the concept of iterating over collections using the tools provided by Lo-Dash—a fundamental concept in applicative programming and will be touched upon frequently throughout this book.

Collections can be filtered and items can be fetched from the collection. Lo-Dash also gives you the tools needed to transform collections into other structures you need when implementing frontend UI components.

We've been given a taste of some common themes in Lo-Dash programming—like the idea that callback functions ...

Get Lo-Dash Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.