My Best Line of Javascript Ever

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.

Comments

Understand !

I'am understand Obat Susah Buang Air Kecil

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.