— Hello, I am Pugazhenthi, Freelance web and Android developer from Tiruchirappalli, I use almost all modern techniques to develop web and Android.
The Map object holds key-value pairs and remembers the original insertion order of the keys. Any value (both objects and primitive values) may be used as either a key or a value.
This is a suitable example for promise based ajax call. If we need to display data form json request there are more posibility to get error. Promise based request is clean and easy to hadle errors.