What does !function do in webpack minified javascript

84 Views Asked by At

So I was looking at the minified javascript that webpack created from some ts files using awesome-typescript-loader and noticed that the first thing is does is

!function(e){...}

What does the ! before a function do?

I'm familiar with the (function(){})() syntax. Is it similar to that?

0

There are 0 best solutions below