Javascript test and assignation in one line
<p>Can someone explain this JS LINE ? data is an object.</p>

<pre><code>var list = data == null ? [] : (data.wine instanceof Array ? data.wine : [data.wine]);
</code></pre>
