Skip to content

Commit c45282a

Browse files
added a better comment for the remove method
1 parent aa86a52 commit c45282a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ Collection.prototype.push = function(model){
7474
};
7575

7676
/**
77-
* Remove `model` from the collection.
77+
* Remove `model` from the collection, returning `true` when present,
78+
* otherwise `false`.
7879
*
7980
* @param {Object} model
8081
* @api public

0 commit comments

Comments
 (0)