Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

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');
 
PREVIOUS NEXT
Tagged: #angular #dictionary
ADD COMMENT
Topic
Name
9+8 =