title: Remove Json object from json array element
body: <pre><code>var jsonArray = ["test", "test1", "test2"];
  var matchedValue = "test1";
  </code></pre>
  
  <p><strong>I want to remove remove and (matchedValue) from the JsonArray.
   How can i delete and return rest of the string</strong> </p>
  
  <pre><code>Expected output : ["test", "test2"];
  </code></pre>
  
  <p><strong>What I am doing :</strong> </p>
  
  <pre><code>var setValue = JSON.parse(fetchMethodJsonArray);
  dataRemoved = setValue.filter(function(el) {
                return el != fetchValue;
            });
  </code></pre>
  
  <p>It is not working</p>
  
  <p>Please tell me the solution Thanks in advance.</p>