92
Backbone.js collection.pluck()
The backbone.js collection pluck method is used to retrieve an attribute from each model in the collection. It is equivalent to calling map and returning a single attribute from the iterator.
Syntax:
Parameter explanation:
attribute: It specifies the property of a defined model.
Let’s take an example to deploy this property.
See this example: