how to decode a string in a variable in javascript?
<p>I have code in javascript:</p>

<pre><code>var location = '&amp;quot;HCM - NYC (New York, NY)&amp;quot;';
td_Details.innerText = location;
</code></pre>

<p>Now I want to decode the text location to</p>

<p>"HCM - NYC (New York, NY)"</p>

<p>Please advice. Thanks.</p>
