title: javascript associative array length using jQuery
body: <p>I am using javascript associative array like:</p>
  
  <pre><code>var testarray = [];
  testarray['one'] = '1';
  testarray['two'] = '2';
  testarray['three'] = '3';
  </code></pre>
  
  <p>I am also using jquery alongside. How can I check length of this associative array using jquery or any other method? Basically i want to check whether this array is empty or not.</p>
  
  <p>Thank you.</p>