Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

ts new map literal

new Map<string, string>([
  ["key1", "value1"],
  ["key2", "value2"]
]);
 
PREVIOUS NEXT
Tagged: #ts #map #literal
ADD COMMENT
Topic
Name
1+9 =