Is there a test case for which this ternary operation evaluates to false?
<p>I need help understanding the jquery ui autocomplete example found here:
<a href="http://jqueryui.com/demos/autocomplete/#remote" rel="nofollow">http://jqueryui.com/demos/autocomplete/#remote</a></p>

<p>If you click on the source</p>

<pre><code>$(function() {
    function log( message ) {
        $( "&lt;/div&gt;" ).text( message ).prependTo( "#log" );
        $( "#log" ).scrollTop( 0 );
    }

    $( "#birds" ).autocomplete({
        source: "search.php",
        minLength: 2,
        select: function( event, ui ) {
            log( ui.item ?
                "Selected: " + ui.item.value + " aka " + ui.item.id :
                "Nothing selected, input was " + this.value );
        }
    });
});
</code></pre>

<p>You'll see that when you select a suggested entry, that entry's information will be parsed into the log.  However, is there an actual use case where ui.item evaluates to false and the 2nd statement executes and gets stored in the log?</p>
