I'm curious about the implementation in the Backbone example app () where the remaining() function is called using apply (this.without.apply(this, this.done());) instead of just this.without(this.done()).
// Filter down the list of all todo items that are finished.
done: function() {
return this.where({done: true});
},
// Filter down the list to only todo items that are still not finished.
remaining: function() {
return this.without.apply(this, this.done());
},
Thank You !
#Update
Debugger output
this.without(this.done())
[child, child, child, child]
this.without.apply(this, this.done());
[child, child, child]