Home » Backbone.js collection.clone()

Backbone.js collection.clone()

by Online Tutorials Library

Backbone.js collection.clone()

The Backbone.js collection clone method returns a new instance of the collection with an identical list of models.

Syntax:

Let’s take an example to demonstrate clone method.

See this example:

You may also like