{"type":"rich","version":"1.0","cache_age":3600,"title":"Use Promise.resolve to accumulate values from async loop and use the value outside of the loop","author_name":"amit2maha1","author_url":"https://jsitor.com/profile/a0731c29-bfdc-45be-be6d-c9908240e893","provider_name":"jsitor.com","provider_url":"https://jsitor.com","width":800,"height":450,"html":"<iframe src=\"https://jsitor.com/embed/7424eebb-dd29-4914-9c0e-1b2e4f6abe7b\" width=\"800\" height=\"450\" style=\"border:0;border-radius:8px;overflow:hidden\" loading=\"lazy\" allow=\"clipboard-write\" title=\"Use Promise.resolve to accumulate values from async loop and use the value outside of the loop — jsitor.com\"></iframe>","thumbnail_url":"https://jsitor.com/api/projects/7424eebb-dd29-4914-9c0e-1b2e4f6abe7b/thumbnail","thumbnail_width":800,"thumbnail_height":450}