What is the meaning of this code (0, function) in javascript : <p>I found this code in someone's code, it sound like this:</p>

<pre><code>(0, function (arg) { ... })(this)
</code></pre>

<p>After I try to play around like below,</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>(0, function (arg) { console.log(arg) })(2);
console.log((0, 1, 2, 3));
(0, function plus1 (arg) { console.log(arg + 1) }, function plus2 (arg) { console.log(arg + 2) })(5);</code></pre>
</div>
</div>
</p>

<p>I found that it will always return last item in the bracket.</p>

<p>I wonder what is the name of this programming pattern and what is the use case?</p>
