I want to remove an element from the array by key. However, I have an array quite different from the most.
array1 = [ { ny: { gt:0 }}
, { roma: { gt:0 }}
, { paris: { gt:0 }}
]
If I want to remove the one with roma, how should I do it?