SyntaxFix
Write A Post
Hire A Developer
Questions
Although it wouldn't be a "true object", you could always do something like this:
var foo = [ {Key1: "key1"}, {Key2: "key2"}, {Key3: "key3"} ]; alert(foo.length); // === 3