4 different types of for loop in node js | Issue with .forEach and asynchronous function

Опубликовано: 30 Сентябрь 2024
на канале: CodeSpace
5,713
57

Node.js ships with the for…of , for…in and array.forEach loops. These two loops provide a convenient iteration besides the common for loop. Both loops give you a clean syntax for iterations and quick access to keys or values. Though forEach doesn't wait for asynchronous call.

Join this channel to get access to perks and giveaways:
   / @codespace  
----------------------------------------
⚙️Gears used⚙️
DJI Osmo Mobile 3 Handheld Smartphone Gimbal (Grey) : https://amzn.to/3bzeIZo

Boya BYM1 Omnidirectional Lavalier Condenser Microphone with 20ft Audio Cable (Black) : https://amzn.to/2DCUm4U

Canon EOS 200D II 24.1MP Digital SLR Camera + EF-S 18-55mm f4 is STM Lens (Black) : https://amzn.to/3buyx3T

Samsung Galaxy S20 (Cosmic Gray, 8GB RAM, 128GB Storage) with No Cost EMI/Additional Exchange Offers : https://amzn.to/3bssa12

Benro T880EX Digital Tripod Kit : https://amzn.to/3bzGzsb

Dell Inspiron 7570 15.6-inch UHD 4K with Touch Laptop--Intel Core i7 8th Gen || 16 GB || 512 GB SSD || Windows 10 Home with Office || 4 GB NVIDIA || Platinum Silver : https://amzn.to/3lVD9EU

Logitech MK345 Wireless Combo – Full-Sized Keyboard with Palm Rest and Comfortable Right-Handed Mouse : https://amzn.to/3bD13Aw

------------------------------------------------
Follow me on:
❤️ Youtube : https://youtube.com/codespace?sub_con...
❤️ Facebook :   / e.codespace  
❤️ LinkedIn :   / gourabpaul  
❤️ Twitter :   / gourab_p  
-----------------------------------------------
#nodejsForLoop #forLoopInNodejs