Here's a quick tip. If you need to set the same property on each model in a Backbone collection check out the following snippet.
this.collectionName.invoke("set", {
isSet: true,
});
Invoke can be used as a slightly cleaner version of this.
this.collectionName.each(function (model) {
model.set({
isSet: true,
});
});
Happy coding!