title: What is this array called... and how to remove items from it
body: <p>I have an array that I am using, I am having difficulties describing what kind of an array it is, which is making it hard for me to work with it. So far it works for me. I am just curious.</p>
  
  <p>I eventually want to remove the end of this array.</p>
  
  <p>I tried <code>.pop()</code> and  <code>.grep()</code>. Its not working.</p>
  
  <p>Here is an example of my code.</p>
  
  <pre><code>var options = {};
  $('.option:visible').each(function(){
       var option_label = "";
       var option_selected = [];
       var option_img = "";
  
       ...
  
  
       options[option_label] = {
           option_selected: option_selected,
           option_image : option_img
       };
  });
  </code></pre>
  
  <p>What I am trying to do is:</p>
  
  <pre><code>if(option_label.indexOf("something") != -1) {
     //then pop off options
  } 
  //continue about your business
  </code></pre>
  
  <p>For clarification I wont know the exact title of the <code>option_label</code>.</p>