Похожие чаты

Usecase of immediately involved functions in js?

2 ответов

13 просмотров

https://developer.mozilla.org/en-US/docs/Glossary/IIFE#use_cases

I use them to set variables that need a little initialization. Like a new Date() object but I want to zero out the seconds/milliseconds. I don't use them often though

Похожие вопросы

Обсуждают сегодня

Карта сайта