Node.js - Comparing mongoose _id

Code:

item1._id.toString() == item2._id.toString()