What does !(function()) mean in JavaScript/jQuery? -


this question has answer here:

i saw in parsleyjs library folowing:

enter image description here

what expression !(function(f){...}) mean?
negation?

edit:
after explanations, observed code looks

!( f(y){}( f(x){} ) ); 

or can written

!( f(z) ); 

or

!(z); 

where z = f(z), z = f(y){}, , y = f(x){}...
not clear function executes expression !(z);

usually use either

!function(f){...}() 

or

(function(f){...})() 

or

+function(f){...}() 

the developers here combined first two, redundant.


Comments

Popular posts from this blog

python - Specify path of savefig with pylab or matplotlib -

How to run C# code using mono without Xamarin in Android? -

c# - SharpSsh Command Execution -