O'Reilly logo

SproutCore Web Application Development by Tyler Keating

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

Working with enumerables

In this section we will look at some useful additions SproutCore provides when working with collections. But first, what do we mean by enumerables? In computing science, enumerables are typically the additions to a collection type that provide useful functions for traversing, searching, filtering, and performing operations on the collection's items. In JavaScript, we have two collection types: Object ({}) and Array ([]). But while the latest version of ECMAScript defines several "enumerable" methods for accessing, manipulating, and iterating over JavaScript arrays, actual support for these methods in the various browser implementations is varied.

As such, one of the convenient extensions that SproutCore provides is the ...

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