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