Oh, undef is as easy as knowing HTML trivia. Getting a falsey value to return an arbitrary string when invoked as a function is at least a little harder...
> random3
... is almost as easy as random1
> random4
is exactly as impossible as it looks