title: Add and delete a key value pair
body: <pre><code>Const data = [{
        Name1:{
               Name:&quot;&quot;,
               Grade:&quot;&quot;,
               Class:&quot;&quot;
               },
         Name2:{
               Name:&quot;&quot;,
               Grade:&quot;&quot;,
               Class:&quot;&quot;
               }
  }]
  </code></pre>
  <p>I am having this type of data can any one please help me how to insert a new key value pair dynamically ie the Name1 the &quot;1&quot; should be dynamically generated based length  and for  delete particular key value pair I can pass index</p>