How do I convert this Python punctuation-stripping function to JavaScript?
<p>Please can anyone translate this python code into javascript.</p>

<pre><code>#
def strip_punctuation(s):
#
    for c in ',.":;!%$':
#
        while s.find(c) is not -1:
#
            s.replace(c, '')
</code></pre>
