Populate dropdown with for in loop off an object
<p>I have an object</p>

<pre><code>var myObject = { 3: 'Three', 6: 'Six'};
</code></pre>

<p>I want to populate those values in a dropdown like so:</p>

<pre><code>var statusDropdown = document.createElement('select');
for (var item in myObject ) {
    var option = document.createElement("option");
    option.text = item.value; //this is undfined item = "Three", or "Six" 
    option.value = item.key; //this is undfined item = "Three", or "Six" 
    statusDropdown.options.add(option);
}
</code></pre>

<p>for in seems the way to go but I am trying to do key and value not just value. This would allow me to set the key to 3 for the first dropdown option, and 6 for second</p>
