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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -