var myArray = new Object();
myArray["firstname"] = "Gareth";
myArray["lastname"] = "Simpson";
myArray["age"] = 21;
Is there a built-in or accepted best practice way to get the length of this array?
- asked 8 years ago
- B Butts