title: Updating value of multidimensional array of object
body: <p>If I have array:</p>
  
  <pre><code>var arr = [
   {
    text: "something",
    child: [
     {
      text: "something child",
      child: [..]
     },..
    ]
   },..
  ];
  </code></pre>
  
  <p>Is ther any more efficient way exept rebuilding whole array with updated value by using for() to edit element when I have array of indexes:</p>
  
  <pre><code>var index = [0, 0];
  </code></pre>
  
  <p>to do this:</p>
  
  <pre><code>arr[0]["child"][0]["text"] = "updated value";
  </code></pre>
  
  <p>This is just small example but arr will be sometimes 1 level depth sometimes 12, etc. And value I need to update sometimes is in first level:</p>
  
  <pre><code>arr[0]["text"] = "updated value"
  </code></pre>