86
Backbone.js collection.pop()
The Backbone.js collection pop method is similar to remove() method. It takes array of models and removes the models from the collection.
Syntax:
Parameter explanation:
models: It specifies names of the collection instances, which are need to be popped out from the
options: It contains model type which will be removed from the collection.
Let’s take an example.
See this example: