How can I remove an element from an object list?
I wish to remove the element Kristian
from someList
. For example:
someList = {"Kristian":"2,5,10",
"John":"1,19,26,96"};
I want to achieve:
someList = {"John":"1,19,26,96"};
This is similar to Remove Object from Array using JavaScript, but it's implemented differently and the solutions does not work.