title: jQuery .pop() is not a function
body: <p>I am trying to make this function running, anyway I caught a problem like this
  <strong>"Uncaught TypeError: this.chart_data.pop is not a function"</strong></p>
  
  <p>Here is my code</p>
  
  <pre><code> $(data).each(function(){
      console.log(this.chart_data);
      console.log(this.chart_data.pop());
      var end = (this.chart_data).pop();
  
      ret.push({
          name: this.name,
          y: end['y'],
          link: this.link,
          color: chart_colours[i]
      });
  
      i++;
  
  });
  </code></pre>
  
  <p>Thank you for your concern and help.</p>