Using the pluck method, we can extract an array of attributes from each model in a Backbone collection.
var idsInCollection = collection.pluck('id'); // returns ["id1","id2"...]
I am curious to know if there is a method that can assign an attribute to each model in the collection.
var urlArray = ["https://url1", "https://url1" ...];
collection.WHAT_IS_THIS_METHOD({"urls": urlArray});