title: json object array undifined error
body: <p>I have a JSON object that gets returned by an AJAX request but it keeps returning undefined.</p>
  
  <pre><code>{
  "shelters": [{
      "id": 1,
      "name": "ksk",
      "introduce": "설정에서 변경해주세요",
      "lonlat": "lon=14135650.08512,lat=4518305.530134",
      "created_at": "2014-10-21T11:30:34.916Z",
      "updated_at": "2014-10-21T12:16:24.943Z"
  }, {
      "id": 2,
      "name": "aa",
      "introduce": "설정에서 변경해주세요",
      "lonlat": "lon=14135014.702323,lat=4518095.3283062",
      "created_at": "2014-10-22T16:52:03.912Z",
      "updated_at": "2014-10-22T16:53:07.407Z"
  }]
  }    
  alert(data.length);
  alert(data.shelters.length);
  alert(data.shelters);
  </code></pre>
  
  <p>Why is the output 'undefined'?</p>