mongodb/node-mongodb-native — pull request #1111 by benighted (2013-10-11 19:47:29+00:00)
Title: Corrected optional arguments documentation for findAndModify

According to the code, the callback parameter is not optional for findAndModify as the documentation suggests. The first argument is used for query, the last is used for callback, and then sort, update, and options are used in that order.