Finding objects in JS array and storing names to new array?
<p>So, I have an array that contains X objects, all named by dates and containing useless data beyond their name.
I want to store these dates in an array for later use and objects are, apparently, not found in an array by array[i], so how do I iterate through the array and just save the names to a string in another array?</p>

<p>Edit: Ok this question was due to a major brainfart... The obvious answer would be</p>

<pre><code>    var dP = $('#calendar').GetDate();
    var dPTmp = [];
    var i = 0;
    for (var id in dP) {
        dPTmp[i] = dP[id].toString();
        i++;
    }
    console.log(dPTmp);
</code></pre>
