how to return nothing ( empty array) with array.map function
<p>Right now, if 'Everything' in the list is detected, the output becomes [""].<br>
Expected output: []</p>

<pre><code>Copy.names = rule.names.map(function(x) {                                
    if (x.name ==='Everything') {                                   
        return '';
    } else {
        return x.name;
    }
});
</code></pre>