re: Practical Ways to Write Better JavaScript VIEW POST

FULL DISCUSSION
 

you can even leave the () when writing one-parameter-arrowfunctions:
for example, you used:
const resultingPromises = urls.map((url) => makHttpRequest(url));
this can be written as
const resultingPromises = urls.map(url => makHttpRequest(url));

code of conduct - report abuse