size of associative array / object thingy

wxdqz

New Member
Here's a basic question which I keep whacking my head against:

say you have an array like this:

var buttonList = {
"one": ['a', 'b'],
"two": ['a', 'b'],
...
}

How do you get the number of "rows"? i.e. elements.

I guess it's kind of a quasi-object, really... hmmm.
 
Back
Top