So I have been looking how to remove a record from an array by key, but only found when the key is numberic, the problem is, I don't have a numberic key.
I build an array like this:
var obj = [];
obj.key1 = {name: "John", room: 1234};
obj.key2 = {name: "Jim", room: 1234};
Now the result of obj is
[key1: Object, key2: Object]
Which is exactly what I expect.
Now I am wondering, how would I completely remove key1 from obj? I couldn't find anything about this when the key is alphabetic.