[Javascript] exists() method

Troy III Ajnej trojani2000 at hotmail.com
Wed Dec 7 19:31:51 CST 2011


As per your request we are converting the encountered guess luck into a Boolean val.
Correct, the: NOT( NOT( true ) ) == true;

Well, View-Source on Google is your best answer on how it deals with cryptic code.
This one is not cryptic, it is laconic.

No, that's more like a tinny closure, itsimply burrows it a context deeper.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Troy III
progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


----------------------------------------
> From: riegel at clearimageonline.com
> Date: Wed, 23 Nov 2011 20:01:45 -0500
> To: javascript at lists.evolt.org
> Subject: Re: [Javascript] exists() method
>
> Very nice, but I do not understand the syntax. What does !! mean? Also your
> original function had a single ! I am not sure what it meant either.
>
> Cryptic syntax like that is challenging to google. Ahhh it is just the NOT
> operator twice.
>
> So if I am reading this correctly the naked parens allow you to execute a
> function and define this for the function? Is that correct. If so is it
> similar to call() or apply()
>
> Thanks,
>
> Terry
>
>
> ---------------------------8<-------------------
> exists=
> /*b.b. Troy III p.a.e.*/
> function(x){try{return!!(0,eval)(x)}catch(e){return!1}}
> --------------------------->8-------------------
>
> The voodoo-chain is now broken, Mr. "x" is free again.
> The host method doesn't have access to our private x
> anymore. And we will not get this x-ray false positive
> leak exception again. The Lab is secure.
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Troy III
> progressive art enterprise
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _____________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript
 		 	   		  


More information about the Javascript mailing list