title: Programmatically create variables from data object
body: <p>I'm pulling a bunch of data from a Google spreadsheet and need a way to programmatically create a variable for each cell, where the name is the cell (ie A2) and the value is the cell's contents.</p>
  
  <p>It should be possible since everything I need is in there. For example <code>data[11].title.$t</code> is the cell name (A2 in this case) and   <code>data[11].content.$t</code> is the cell's contents.</p>
  
  <p>I can do it all manually: <code>var A2 = data[11].content.$t</code> etc etc, but I feel like there's a better way.</p>
  
  <pre><code>$(document).ready(function() {
      var url = "https://spreadsheets.google.com/feeds/cells/1dKiMlM1KXnY6zjh75CUoe3KTdKuGBlaFZXfFWYxtCmM/od6/public/basic?alt=json";
      $.ajax({
          url:url,
          dataType:"jsonp",
          success:function(data) {
              var data = data.feed.entry;
              console.log(data);
          }
      });
  });
  </code></pre>