Become a member
Sign in
Alexey Tseitlin
Alexey Tseitlin

Alexey Tseitlin

43 Following
1 Followers
·
  • Profile
  • Claps
  • Highlights
  • Responses

Highlighted by Alexey Tseitlin

See more

From Essential JavaScript: Mastering Immediately-invoked Function Expressions by Chandra Gundamaraju

Remember this! You need a function expression to form an IIFE. Function statements/definitions are never used for creating IIFEs.

From Essential JavaScript: Mastering Immediately-invoked Function Expressions by Chandra Gundamaraju

As we saw in the above IIFE examples, the key to IIFE pattern is taking a function and turning it into an expression and executing it immediately.

From Essential JavaScript: Mastering Immediately-invoked Function Expressions by Chandra Gundamaraju

So we have a function expression that’s immediately invoked after it’s created. And that’s, my friends, is called an IIFE irrespective of the stylistic variation used to achieve …

Claps from Alexey Tseitlin

See more

How to Improve Your JavaScript Skills by Writing Your Own Web Development Framework

jbardon⚡

Tech Startup Visas — Discussion at Draper University

Elizabeth Jamae

macOS Mojave dynamic wallpaper

Marcin Czachurski