title: Cannot read properties of undefined (reading 'length')
body: <pre><code>**Getting error -&gt; Cannot read properties of undefined (reading 'length')**
  Code is there on JSFiddle -&gt; https://jsfiddle.net/gLt40fry/1/
  
  I want display data from Airtable to Datatable using AJAX
  
  var ajaxData = $.ajax({
          method:'GET',
          url:'localhost',
          success:function(response){
              ajaxData = response.records
              
              console.log(ajaxData)
          }
      })
  </code></pre>
  <p>Datatable must show the content from Airtable API inside table. Table is using Datatable and the code is available on JSFiddle. <a href="https://jsfiddle.net/gLt40fry/1/" rel="nofollow noreferrer">https://jsfiddle.net/gLt40fry/1/</a></p>