javascript === reads false but is the same value mongodb id code example Example: compare mongoose id user._id.toString() === request.params.id