What does !(function()) mean in JavaScript/jQuery? -
this question has answer here:
i saw in parsleyjs library folowing:
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
Post a Comment