I'm creating an array using "push"
so the result is [Object, Object]
in there the code looks like:
[Object, Object]
    0: Object
        type: Array[6]
    1: Object
       type: Array[4]
I would like to combine both object and get a result like this:
["Mike", "Matt", "Nancy", "Adam", "Jenny", "Carl", "Jim", "Issac", "Lee", "Won"] 
I have no idea to get this to work, any suggestion?
code sample:
    dropdown: function(data) {
        var arr = [];
        $.each(data, function(key, value) {
            arr.push({
                type: value.type
            });
        });
    }
 
     
     
     
    