Update lib/mongodb/index.js

removed for...in