Home » Backbone.js collection.length()

Backbone.js collection.length()

by Online Tutorials Library

Backbone.js collection.length()

Length is a property of the collection. It is used to count the number of models that the collection contains.

Syntax:

Let’s take an example.

See this example:

You may also like