JSFiddle - React, Tailwind, and code Playground

JavaScript

var locations= [
            {
                "city": "San Jose",
                "state": "CA",
                "zipcode": "95125",
                "longitude": "0",
                "latitude": "0"
            },
            {
                "city": "Coventry",
                "state": "CT",
                "zipcode": "06238",
                "longitude": "0",
                "latitude": "0"
            }
        ]
    ;

jQuery.each(locations, function(i, val) {
   if(val.zipcode == "06238") // delete index
   {
delete locations[i];
       console.log(locations);
  }
});