Array.map()
A map is a method of array in javascript thats create a new array with same length of original array by making aloop in array indexes .
Array.reduce()
A reduce is method of array in javascript thats reduce the array of one value .
superagent()
SuperAgent is light-weight progressive ajax API crafted for flexibility, readability, and a low learning curve after being frustrated with many of the existing request APIs. It also works with Node.js!
.then()
The then() method returns a Promise. It takes up to two arguments: callback functions for the success and failure cases of the Promise.
async/await function
An async function is a function declared with the async keyword, and the await keyword is permitted within them. The async and await keywords enable asynchronous, promise-based behavior to be written in a cleaner style, avoiding the need to explicitly configure promise chains.