TypeError: DB.Collection Name bukan fungsi

db.listCollections().toArray(function(err, collections){
    //collections = [{"name": "coll1"}, {"name": "coll2"}]
});
Undefined