Warum gibt typeof array with objects "Object" und nicht "Array" zurück? [Duplikat]

Mögliche Duplikate:
JavaScript: Überprüfen Sie, ob das Objekt ein Array ist.

Warum wird ein Array von Objekten als Objekt und nicht als Array betrachtet? Zum Beispiel:

$.ajax({
    url: 'http://api.twitter.com/1/statuses/user_timeline.json',
    data: { screen_name: 'mick__romney'},
    dataType: 'jsonp',
    success: function(data) {
        console.dir(data); //Array[20]
        alert(typeof data); //Object
    }
});​

Geige

Antworten auf die Frage(4)

Ihre Antwort auf die Frage