I have an array of objects:
[
{ content: "lelzz", post_id: "241" },
{ content: "zzyzz", post_id: "242" },
{ content: "abcde", post_id: "242" },
{ content: "12345", post_id: "242" },
{ content: "nomno", post_id: "243" }
]
How can I remove all objects with a post_id
of '242'
?