What does this line of code containing a '||' in JavaScript do?
<p>I have read many javascript tutorials and I believe i know many things until now. So i thought that it will be a good idea to see a few script written in this language. My problem is that i don't know what this line really does:</p>

<pre><code>var b=Number(ls.autofarm)||0,g,h,i,d,j; 
</code></pre>

<p>I know the basics of these line, that the variable name is b and it has the value of Number(Is.autofarm)||0,g,h,i,j, but why are the "||" are using? It  will be great if someone could explain to me what this line does.</p>
