What is the name of the person who invented the JavaScript IIFEs? Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
What is the name of the person who invented the JavaScript IIFEs? Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
Usman Awan -
Evanrobby Macharia -
Stefan Moraru -
... -
Top comments (3)
Hasn't it been there from the beginning?
No. It turned out that a geek called "Ben Alman" invented them in 2010. Thanks for the interest. Here's the link:
benalman.com/news/2010/11/immediat...
He invented the name, but they were already being used, the article says as much, people were just calling them “self-executing anonymous functions”. I'm pretty sure the ability to make them has been there from the beginning, but perhaps someone was first to discover the method.