how to get key values from Object in JS
<p>i have object which contains list of values like key=value. how to get key and value in JS. </p>

<pre><code>[Object { name1="value1",  name2="value2", }]
</code></pre>

<p>thanks in advance </p>