My array contains objects that look like this:
Questions-answers [{"questions":"Q_18002_Error_message","answers":"Yes"},{"questions":"Q_18002_Error_message","answers":"No"},{"questions":"Q_18001","answers":"No"}]
I need to remove
{"questions":"Q_18002_Error_message","answers":"Yes"}
because I have an updated answer for question Q_18002. As a Javascript beginner, I am struggling with how to delete duplicate elements based on the questions only, keeping only the new objects. I hope that explanation is clear.