Functions,IIFE vanila JS

Hello everybody…have a quick question…whats difference between call back function and imidiately invoked one ?

like you mentioned an IIFE, or Immediately Invoked Function Expression, is executed right after its creation.
While on the other hand, a callback function is used only when you call it explicitly.

Give this article a read…

1 Like