标签:Underscore

1.forEach:迭代集合 var MyCollection = new Backbone.Collection(); MyCollection.add([ {name:'A'}, {name:'B'}, {name:'C'} ]); MyCollection.forEach(function(model){ console.log(mod...

发布 0 条评论