uglifyjs compresseses but does not mangle function or variable names
<p>I found a post back in 2012 that has similar problems, but it invokes uglifyjs differently</p>

<p><a href="https://stackoverflow.com/questions/10959154/uglify-js-doesnt-mangle-variable-names">Uglify-js doesn&#39;t mangle variable names</a></p>

<p>I have a Windows 7 environment, uglifyjs 2 installed via npm and post <a href="https://stackoverflow.com/questions/38661930/how-to-install-node-modules-globally">How to install node modules globally?</a></p>

<p>I call uglify as follows:</p>

<pre><code>uglifyjs --compress dead_code=true --mangle --mangle-toplevel -- x.js &gt; x-min.js
</code></pre>

<p>My code crunches (from 127kb to 55kb) but when I open my code, I find function and variable names are original.</p>

<p>The browser demo tool gives the same results.</p>

<p>Anyone care to advise how I can obfusicate variable and function names with, or without uglify ?</p>