The function , documented as returning "the child or the parent of the window", was a joke, but there's a function whose behavior is just as confusing as the joke function : .
The function returns the parent window, or owner window, or possibly neither. All that's left is for it to be a floor wax and it'll have everything covered.
The idea...