console.log showing contents of array object
<p>I have tried using console.log so I can see the content of my array that contains multiple objects but I get an error saying console.log is not an object etc Im using jquery 1.6 and my array is like this Im using jquery 1.6.2</p>

<pre><code>filters = {dvals:[{'brand':'1', 'count':'1'},
                  {'brand':'2', 'count':'2'}, 
                  {'brand':'3', 'count':'3'}]}

console.log(filters);
</code></pre>

<p>What I want to todo is write out the contents of the array(filters) to a alert box(thats what I thought console.lod did) in the filters format. How do I do that.</p>
