Чему равно foo.length?

var foo = [];
foo.push(1);
foo.push(2);

foo.length // 2

results matching ""

    No results matching ""