Comma operator in return
<p>I was reading the JS from one page and this is what I found (the source is deobfuscated by google chrome dev tools):</p>

<pre><code>var db = function(a) {
    return a.replace(/[^\w\s\.\|`]/g, 
    function(b) {
        return "\\" + b
    })
};
</code></pre>

<p>Is there a some trick with the first comma operator operand (the <code>a.replace()</code> one)?</p>

<p>From my point of view the <code>a.replace(/[^\w\s\.\|``]/g,</code> part is completely redundant and can be removed.</p>

<p>Have I missed something?</p>
