I've had the displeasure of seeing one of these functions recently, and let's just say it's not pretty JS.
Reply on news.ycombinator.com