InterviewSolution
Saved Bookmarks
| 1. |
What is the use of the MAP in Angular 4? |
|
Answer» In Angular 4, Map is a data STRUCTURE used for mapping keys to values without the limitations involved in using OBJECTS. A Map can be created with the help of a new keyword and then various entries can be added to increase the functionalities with the help of a set method. This data structure is also chainable. A map can be initialized with the help of an array of key-value PAIRS. |
|