© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ayodele Samuel Adebayo
Software Engineer & Customer Success Engineer at Hashnode
Good and straightforward explanation Annukul Thakran.
I'll also add that the forEach() function returns undefined by default and not chainable by nature i.e forEach().then(=>{}) will return undefined.
forEach()
undefined
forEach().then(=>{})
Annukul Thakran
Frontend engineer playing with "things"
Thanks a lot for pointing that out. Have a great day man!