title: Remove child objects from Object3D
body: <p>If I create objects in the following way:</p>
  
  <pre><code>var group = new THREE.Object3D();
  
  for (var i = 0; i &lt; 10; i++) {
  
      geometry = new THREE.BoxGeometry(1, 1, 1);
      material = new THREE.MeshNormalMaterial();
      mesh = new THREE.Mesh(geometry, material);
  
      group.add(mesh);
  
  }
  
  scene.add(group);
  </code></pre>
  
  <p>How, then, do I remove those objects from that group?</p>
  
  <p>I tried doing this...</p>
  
  <pre><code>for (var i = group.children.length - 1; i &gt;= 0; i--) {
  
      scene.remove(group.children[i]);
  
  }
  </code></pre>
  
  <p>...but it outputs as 'undefined'. What am I doing wrong here?</p>