how to replace + in javascript?
<p>How to replace character '+' in string with unicode?</p>

<pre><code>E.G.
  Before replace -&gt; "table+end"
  After replace -&gt; "table002Bend"
</code></pre>

<p>I tried using</p>

<pre><code>  tableName.replace(/+/g,"002B);
</code></pre>

<p>but browser running the JS is throwing the error stating:</p>

<blockquote>
  <p><em>Invalid identifier</em></p>
</blockquote>
