Code: Select all
map = fromJSON('{"1":1,"2":2,"3":3,"4":4}');
list1=getMapValues(map);
list2=newList(1,2,3,4);
diff=removeAllElementValues(list1, list2);
I am so afraid about this and immediately check most of my init text and use fromJSON() flow. Fortunately I don't use removeAllElementValues(), only loop with removeElementValue() on all list/map created fromJSON(). Maybe this is why I don't encounter this problem.