Module Scope In Node.js | Simplified Explanation

Опубликовано: 12 Май 2024
на канале: Sathelli Srikanth
100
3

#nodejs #modules
before #nodejs execute the modules it will wrap them with an extra function expression which is IIFE (immediately invoked function expression) which will provide modular scope and protects variables and functions.

IIFE will expect 5 parameters which node will provide while Executing the module

Time stamps
01:59 - IIIFE (explantion) with Example
06:40 - Written notes on IIFE
07:05 - Node module wrapper with parameters

Watch #Node.js tutorials here with written notes    • Node.js  
watch how #javascript works with written notes    • Advanced Javascript  

Support me -- Please hit the like and consider subscribing guys

Would love to Stay Connected with you ❤️
instagram.com/sathellisrikanth_


Смотрите видео Module Scope In Node.js | Simplified Explanation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sathelli Srikanth 12 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 100 раз и оно понравилось 3 людям.