MongoDB and Mongoose - Delete One Document Using model.findByIdAndRemove

MongoDB and Mongoose - Delete One Document Using model.findByIdAndRemove
0

#1

Description: “Delete one person by her _id. You should use one of the methods findByIdAndRemove() or findOneAndRemove(). They are like the previous update methods. They pass the removed document to the cb. As usual, use the function argument personId as search key.”

Please help here, Not really sure how to pass this challenge, I feel like, I’ve tried many combinations already.