Matt found a less-than-helpful helper function in a large JavaScript library:

function confirmMessage(msg)
{
    if ( confirm(msg) )
        return true;
    else
        return false;
}

After all, why use the confusing "confirm('something');" when you could use the simplicity of a reference to the custom JavaScript library and use "confirmMessage('something');"?