dictionary in angular code example
Example: angular dictionary
map = new Map<string, string>();
//set item
map.set("PO1", "closed");
//get item
map.get('PO1');
//has item
map.has('PO1');
//delete item
map.delete('PO1');
map = new Map<string, string>();
//set item
map.set("PO1", "closed");
//get item
map.get('PO1');
//has item
map.has('PO1');
//delete item
map.delete('PO1');