My Best Line of Javascript Ever

About the author
Founder and lead developer of adamia, Adam vigorously pursues the world of spirituality and success. He trains daily in the areas of productivity and accomplishment.

Warning: this post is aimed at web geeks. To workaround a javascript library that did not account for the fact that ‘undefined’ is, well, not always defined, I had to write the following line of code in my script before including theirs:


if (typeof(undefined) == 'undefined') undefined = null;


Easily my favorite line of Javascript I’ve ever written.

That’s awesome! Sadly, I

That’s awesome! Sadly, I have yet to write any lines of javascript with such concise humor. Or, for that matter, any humor at all. :D

Post new comment

The content of this field is kept private and will not be shown publicly.
Captcha
I apologize for the annoyance, but spambots are out of control.
the end of adamia

Who's online

There are currently 0 users and 8 guests online.
flamedramon carlingswitch andrea legarreta airial photos kalakaua merry monarch hula festival cheap gopeds folbot taiga food web cartoon caracters crayola crayon factory paperboy ditty bruno gagliasso how did michael hutchence die excersice gladys aylward juvenile deliquency hordeolum divinci biodiesel biodiesel.freeinfoexchange.net roohan realty everhome mortgage company bullock garages cristy thom heide klum pink spiders little razorblade jag swimwear bonnet hair dryer honda superhawk freevoyeurweb mope bloodhound gang m24 sniper rifle centralboiler.com baldwin bait and tackle peasants quest pheidippides frenulum breve ramli sarip callin baton rouge nordyne.com darton archery cradle of filth hallowed be thy name mindi emanuel hideto matsumoto watch zapruder film elsa bangz goerge strait jennifer connely nude linsiyee amy pazzo pansat 6000 justin berfield shirtless chub chaser charlene rink tesha mullen bustybrits wilipedia pendleton wool blankets rhonda britten kirsten prout rudeplay.com partyfavors cecilia bolocco 50th birthday sayings bela karolyi bodacious tatas smocking plates isscript.msi ianboy gina lamarca tatoes gall bladder sludge brittney spaniel wellmate sophie despineux superbush.com digitalplayground.com nursel gurler get throwed bun b rhonda britten molotov puto sleeptrain quisha yellowtail wines