Javascript push list on object empty array
<p>I am trying to get a list of tags from an object</p>

<p>Here is the full code and data:</p>

<pre><code>$(document).ready(function() {

obj = 

{
    "category":[
    {

    "id":"8098",
        "tags":{
            "411":"something",
            "414":"something else"
        }
    }

]

};


var tagList = [];

for (var index in obj) {

  for (var indexSub in obj[index].tags) {

       blah = (obj[index].tags[indexSub]);
       tagList.push(blah);
   }
}

console.log(tagList);



});
</code></pre>

<p>Here's a link to <a href="http://httphttps://jsfiddle.net/myfiddles2016/f6ogkvzr/12/" rel="nofollow">jsFiddle</a></p>

<p>The problem is that taglist is returning an empty array.</p>

<p>How can I fix this?</p>