title: .replace javascript not working
body: <p>Hi i am working in java script i have a string</p>
  
  <pre><code>var data = 'http://baab.bh/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/t/e/test.jpg';
  </code></pre>
  
  <p>i want to replace <strong>/image/</strong> into <strong>'image/440x600'</strong> i am using this function</p>
  
  <blockquote>
    <p>.replace()</p>
  </blockquote>
  
  <p>but its not working here is my code</p>
  
  <pre><code>var data ='http://baab.bh/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/t/e/test.jpg';
      data.replace('/image/', '/image/440x600/');
      console.log(data);
  </code></pre>
  
  <p>its showing same not replacing <strong>/image/</strong> into <strong>'image/440x600'</strong>. </p>