Firebase return a collection as an array
<p>I am trying to build an app using Firebase as the back end and need help with what seems like a simple problem. I want to return a list of nested data (I know I shouldn't be nesting data!) as an array. To try and solve this I have the following to give me a collection of the status for each record in the database:</p>

<pre><code>    var ref = new Firebase("https://firebase_URL");
ref.orderByChild("Status").on("child_added", function (snapshot) {
    var articleID = snapshot.key();
    var articleData = snapshot.val();
    console.log(articleData.status.Status);
</code></pre>

<p>This gives me a collection of the Status but how do i combine these to console.log the list as an array?</p>