title: Making an object from an array in JavaScript
body: <p>I am using Node and scrapping a website and I get the data back it comes back as a string so I make an array out of the string and the array look like below </p>
  
  <p>I have an array that looks like this:</p>
  
  <pre><code>`[ [ '2011\r\n', '24"', '21"' ],
    [ '2010\r\n', '24"', '21"' ],
    [ '2009\r\n', '24"', '21"' ],
    [ '2008\r\n', '24"', '21"' ],
    [ '2007\r\n', '22"', '20"' ],
    [ '2006\r\n', '22"', '20"' ],
    [ '2005\r\n', '22"', '20"' ],
    [ '2004\r\n', '22"', '20"' ],
    [ '2003\r\n', '22"', '19"' ],
    [ '2002\r\n', '22"', '19"' ],
    [ '2001\r\n', '22"', '19"' ],
    [ '2000\r\n', '22"', '19"' ],
    [ '1999\r\n', '22"', '19"' ],
    [ '1998\r\n', '22"', '19"' ],
    [ '1997\r\n', '22"', '19"' ],
    [ '1982\r\n', '18"', '18"' ],
    [ '1981\r\n', '18"', '18"' ],
    [ '1980\r\n', '18"', '18"' ],
    [ '1979\r\n', '18"', '18"' ],
    [ '1978\r\n', '18"', '18"' ],
    [ '1977\r\n', '16"', '16"' ],
    [ '1976\r\n', '16"', '16"' ],
    [ '1975\r\n', '16"', '16"' ],
    [ '1974\r\n', '16"', '16"' ],
    [ '1973\r\n', '16"', '16"' ],
    [ '1967\r\n', '15"', '15"' ],
    [ '1966\r\n', '15"', '15"' ],
    [ '1965\r\n', '15"', '15"' ],
    [ '1964\r\n', '15"', '15"' ] ]
  `
  </code></pre>
  
  <p>I would like to make an object out of this array that looks like this</p>
  
  <pre><code>      var car = [
          {
          "year": 2011, 
          "driver_side": '24"',
          "pass_side": '21"'
          },
          {
          "year": 2010, 
          "driver_side": '24"',
          "pass_side": '21"'
          },
          {
          "year": 2009, 
          "driver_side": '24"',
          "pass_side": '21"'
          },
          {
          "year": 2008, 
          "driver_side": '24"',
          "pass_side": '21"'
          },
          {
          "year": 2007, 
          "driver_side": '22"',
          "pass_side": '20"'
          },
  
          // And so on...........
    ]
  </code></pre>
  
  <p>Any Help? That is what I need thank you for any help</p>